Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 109.2 kB / 16.39 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 185.5 kB / 17.32 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 442.7 MB / 0.7167 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 68.12 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, allocations: 153 MB / 1.177 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02869/1.034, allocations: 22.63 MB / 1.199 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03011/1.064, allocations: 17.63 MB / 1.216 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004009/1.068, allocations: 111.4 kB / 1.216 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01223/1.081, allocations: 4.168 MB / 1.22 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0118/1.092, allocations: 3.513 MB / 1.224 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003945/1.096, allocations: 1.312 MB / 1.225 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009559/1.106, allocations: 5.79 MB / 1.231 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006973/1.113, allocations: 3.584 MB / 1.234 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005063/1.118, allocations: 2.402 MB / 1.236 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006296/1.124, allocations: 2.44 MB / 1.239 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001888/1.126, allocations: 372 kB / 1.239 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003915/1.13, allocations: 1.03 MB / 1.24 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002279/1.132, allocations: 1.196 MB / 1.241 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00495/1.137, allocations: 1.998 MB / 1.243 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.009387/1.147, allocations: 5.176 MB / 1.248 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/1.147, allocations: 0 / 1.248 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.224e-06/1.147, allocations: 0 / 1.248 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002884/1.147, allocations: 0 / 1.248 GB, free: 1.129 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01665/1.164, allocations: 4.609 MB / 1.253 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/1.164, allocations: 8.031 kB / 1.253 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/1.181, allocations: 3.265 MB / 1.256 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006161/1.187, allocations: 2.224 MB / 1.258 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005382/1.188, allocations: 470.3 kB / 1.259 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/1.189, allocations: 243.8 kB / 1.259 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/1.202, allocations: 4.806 MB / 1.264 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.652e-05/1.202, allocations: 4 kB / 1.264 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003514/1.203, allocations: 112 kB / 1.264 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/1.203, allocations: 172.8 kB / 1.264 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/1.216, allocations: 5.191 MB / 1.269 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02577/1.242, allocations: 14.38 MB / 1.283 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01564/1.258, allocations: 3.398 MB / 1.286 GB, free: 8.668 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00538/1.263, allocations: 1.467 MB / 1.288 GB, free: 7.203 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/1.264, allocations: 25.3 kB / 1.288 GB, free: 7.176 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00643/1.27, allocations: 1.8 MB / 1.29 GB, free: 5.312 MB / 1.014 GB Notification: Performance of pre-optimization done (n=163): time 5.119e-06/1.27, allocations: 3.938 kB / 1.29 GB, free: 5.309 MB / 1.014 GB Notification: Performance of matching and sorting (n=250): time 0.1369/1.407, allocations: 28.23 MB / 1.317 GB, free: 8.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003013/1.407, allocations: 0.4889 MB / 1.318 GB, free: 8.238 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005176/1.413, allocations: 2.296 MB / 1.32 GB, free: 5.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005666/1.413, allocations: 81.7 kB / 1.32 GB, free: 5.844 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/1.415, allocations: 1.43 MB / 1.321 GB, free: 4.398 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.416, allocations: 0.824 MB / 1.322 GB, free: 3.562 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/1.418, allocations: 416.4 kB / 1.323 GB, free: 3.148 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.418, allocations: 301.1 kB / 1.323 GB, free: 2.852 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006229/1.424, allocations: 1.929 MB / 1.325 GB, free: 0.918 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006204/1.43, allocations: 2.239 MB / 1.327 GB, free: 14.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/1.442, allocations: 4.158 MB / 1.331 GB, free: 10.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/1.442, allocations: 4 kB / 1.331 GB, free: 10.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02133/1.463, allocations: 6.536 MB / 1.337 GB, free: 3.672 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.463, allocations: 152.5 kB / 1.337 GB, free: 3.492 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/1.463, allocations: 4 kB / 1.337 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0113/1.475, allocations: 2.933 MB / 1.34 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/1.478, allocations: 483.2 kB / 1.341 GB, free: 80 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04798/1.526, allocations: 18.84 MB / 1.359 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004619/1.531, allocations: 323.5 kB / 1.36 GB, free: 12.67 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006893/1.531, allocations: 91.97 kB / 1.36 GB, free: 12.58 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.002378/1.534, allocations: 0.7067 MB / 1.36 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/1.535, allocations: 324.2 kB / 1.361 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/1.536, allocations: 388.1 kB / 1.361 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.218e-05/1.536, allocations: 11.95 kB / 1.361 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.536, allocations: 0 / 1.361 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002157/1.538, allocations: 0.6961 MB / 1.362 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009391/1.539, allocations: 52 kB / 1.362 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003739/1.543, allocations: 311.6 kB / 1.362 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001284/1.544, allocations: 421.3 kB / 1.362 GB, free: 9.656 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02102/1.565, allocations: 6.182 MB / 1.368 GB, free: 3.457 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01792/1.583, allocations: 6.505 MB / 1.375 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005603/1.589, allocations: 2.135 MB / 1.377 GB, free: 10.8 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002987/1.592, allocations: 1.536 MB / 1.378 GB, free: 9.262 MB / 1.107 GB Notification: Performance of Backend: time 4.51e-07/1.592, allocations: 0 / 1.378 GB, free: 9.262 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.02298/1.615, allocations: 5.133 MB / 1.383 GB, free: 4.023 MB / 1.107 GB Notification: Performance of SimCode: time 0.01662/1.632, allocations: 7.581 MB / 1.391 GB, free: 12.43 MB / 1.123 GB Notification: Performance of Templates: time 0.1329/1.765, allocations: 78.12 MB / 1.467 GB, free: 15.07 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches