Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007863/0.007864, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001716/0.001716, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 69.55 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.334, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02526/0.3593, allocations: 22.63 MB / 1.11 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02777/0.3872, allocations: 17.63 MB / 1.127 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00573/0.3929, allocations: 107.4 kB / 1.127 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01207/0.4051, allocations: 4.175 MB / 1.131 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01332/0.4184, allocations: 3.58 MB / 1.135 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004588/0.4231, allocations: 1.314 MB / 1.136 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01175/0.4348, allocations: 5.789 MB / 1.142 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007306/0.4422, allocations: 3.596 MB / 1.145 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005168/0.4474, allocations: 2.484 MB / 1.148 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005563/0.453, allocations: 2.452 MB / 1.15 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.4547, allocations: 368 kB / 1.151 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003483/0.4582, allocations: 1.037 MB / 1.152 GB, free: 44 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002374/0.4606, allocations: 1.192 MB / 1.153 GB, free: 14.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.006084/0.4667, allocations: 1.998 MB / 1.155 GB, free: 12.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.4774, allocations: 5.199 MB / 1.16 GB, free: 7.621 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4774, allocations: 3.938 kB / 1.16 GB, free: 7.617 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4774, allocations: 3.938 kB / 1.16 GB, free: 7.613 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002491/0.4777, allocations: 0 / 1.16 GB, free: 7.613 MB / 0.92 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.01547/0.4931, allocations: 4.724 MB / 1.164 GB, free: 2.773 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.4932, allocations: 8.031 kB / 1.164 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/0.511, allocations: 3.279 MB / 1.168 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006331/0.5174, allocations: 2.25 MB / 1.17 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004906/0.5179, allocations: 470.3 kB / 1.17 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.5191, allocations: 235.9 kB / 1.17 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/0.5342, allocations: 4.81 MB / 1.175 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.5343, allocations: 7.938 kB / 1.175 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/0.5354, allocations: 111.9 kB / 1.175 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002706/0.5357, allocations: 168.8 kB / 1.175 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/0.5518, allocations: 5.191 MB / 1.181 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03024/0.5821, allocations: 14.43 MB / 1.195 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.5927, allocations: 3.385 MB / 1.198 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003943/0.5967, allocations: 1.467 MB / 1.199 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.5969, allocations: 29.28 kB / 1.199 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004744/0.6016, allocations: 1.798 MB / 1.201 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=163): time 5.691e-06/0.6017, allocations: 0 / 1.201 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=250): time 0.1298/0.7314, allocations: 28.28 MB / 1.229 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002925/0.7318, allocations: 0.4966 MB / 1.229 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004159/0.736, allocations: 2.3 MB / 1.231 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004145/0.7364, allocations: 81.69 kB / 1.232 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.7378, allocations: 1.452 MB / 1.233 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009945/0.7388, allocations: 0.8598 MB / 1.234 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.7398, allocations: 420.4 kB / 1.234 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.74, allocations: 305.1 kB / 1.235 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00525/0.7452, allocations: 1.929 MB / 1.236 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005564/0.7508, allocations: 2.227 MB / 1.239 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/0.7615, allocations: 4.169 MB / 1.243 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.7616, allocations: 0 / 1.243 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01929/0.7809, allocations: 6.549 MB / 1.249 GB, free: 9.859 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.781, allocations: 148.5 kB / 1.249 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.7811, allocations: 4 kB / 1.249 GB, free: 9.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.7913, allocations: 2.93 MB / 1.252 GB, free: 6.738 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/0.7943, allocations: 487.2 kB / 1.252 GB, free: 6.262 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8669/1.661, allocations: 18.85 MB / 1.271 GB, free: 150.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/1.666, allocations: 321.4 kB / 1.271 GB, free: 150.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004469/1.666, allocations: 91.94 kB / 1.271 GB, free: 150.8 MB / 1.014 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.001703/1.668, allocations: 0.702 MB / 1.272 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008898/1.669, allocations: 350.9 kB / 1.272 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008191/1.67, allocations: 382.3 kB / 1.273 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/1.67, allocations: 23.84 kB / 1.273 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.695e-05/1.67, allocations: 9.656 kB / 1.273 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.1e-05/1.67, allocations: 13.16 kB / 1.273 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005853/1.676, allocations: 3.634 MB / 1.276 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.676, allocations: 0.6562 kB / 1.276 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002866/1.679, allocations: 419 kB / 1.277 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01184/1.69, allocations: 2.871 MB / 1.279 GB, free: 148.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005828/1.691, allocations: 46.05 kB / 1.28 GB, free: 148.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04719/1.738, allocations: 18.64 MB / 1.298 GB, free: 139.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.738, allocations: 2.281 kB / 1.298 GB, free: 139.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02158/1.76, allocations: 6.189 MB / 1.304 GB, free: 137.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002604/1.763, allocations: 0.7219 MB / 1.304 GB, free: 136.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001495/1.764, allocations: 45.16 kB / 1.305 GB, free: 136.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004088/1.768, allocations: 312.2 kB / 1.305 GB, free: 136.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001491/1.77, allocations: 361.3 kB / 1.305 GB, free: 136.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000344/1.77, allocations: 71.3 kB / 1.305 GB, free: 136.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003181/1.773, allocations: 1.533 MB / 1.307 GB, free: 135.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.773, allocations: 2.406 kB / 1.307 GB, free: 135.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004118/1.777, allocations: 1.044 MB / 1.308 GB, free: 135.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000512/1.778, allocations: 174.7 kB / 1.308 GB, free: 135.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02291/1.801, allocations: 6.475 MB / 1.314 GB, free: 133.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.801, allocations: 0 / 1.314 GB, free: 133.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0172/1.818, allocations: 4.072 MB / 1.318 GB, free: 131 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006905/1.825, allocations: 1.144 MB / 1.319 GB, free: 130.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.842, allocations: 6.789 MB / 1.326 GB, free: 125 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/1.845, allocations: 2.234 MB / 1.328 GB, free: 122.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00298/1.848, allocations: 0.509 MB / 1.329 GB, free: 122.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009578/1.849, allocations: 191.4 kB / 1.329 GB, free: 122 MB / 1.014 GB Notification: Performance of SimCode: time 1.663e-06/1.849, allocations: 0 / 1.329 GB, free: 122 MB / 1.014 GB Notification: Performance of Templates: time 0.1071/1.956, allocations: 75.66 MB / 1.403 GB, free: 47.23 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches