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.008048/0.008048, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001557/0.001557, allocations: 192.4 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.429/2.429, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.5 kB / 0.9509 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3686, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02734/0.3959, allocations: 22.61 MB / 1.11 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0298/0.4258, allocations: 17.64 MB / 1.127 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004623/0.4305, allocations: 111.4 kB / 1.127 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.4417, allocations: 4.172 MB / 1.131 GB, free: 4.742 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01234/0.454, allocations: 3.57 MB / 1.135 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.4586, allocations: 1.329 MB / 1.136 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01069/0.4693, allocations: 5.793 MB / 1.142 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00837/0.4777, allocations: 3.588 MB / 1.145 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005956/0.4837, allocations: 2.484 MB / 1.148 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005919/0.4897, allocations: 2.452 MB / 1.15 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001983/0.4917, allocations: 368 kB / 1.151 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004109/0.4958, allocations: 1.034 MB / 1.152 GB, free: 16 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00289/0.4987, allocations: 1.196 MB / 1.153 GB, free: 14.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.006503/0.5053, allocations: 1.998 MB / 1.155 GB, free: 12.81 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.5158, allocations: 5.186 MB / 1.16 GB, free: 7.605 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.5158, allocations: 0 / 1.16 GB, free: 7.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5158, allocations: 4 kB / 1.16 GB, free: 7.602 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002333/0.5161, allocations: 0 / 1.16 GB, free: 7.602 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.01315/0.5292, allocations: 4.601 MB / 1.164 GB, free: 2.887 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5293, allocations: 12.03 kB / 1.164 GB, free: 2.875 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/0.545, allocations: 3.258 MB / 1.167 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006631/0.5517, allocations: 2.228 MB / 1.17 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/0.5522, allocations: 470.3 kB / 1.17 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.5536, allocations: 243.8 kB / 1.17 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.5681, allocations: 4.802 MB / 1.175 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.5682, allocations: 7.938 kB / 1.175 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/0.5693, allocations: 108 kB / 1.175 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002562/0.5695, allocations: 168.8 kB / 1.175 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/0.5852, allocations: 5.191 MB / 1.18 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02795/0.6132, allocations: 14.4 MB / 1.194 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009764/0.623, allocations: 3.383 MB / 1.198 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003578/0.6266, allocations: 1.475 MB / 1.199 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/0.6269, allocations: 29.28 kB / 1.199 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004197/0.6311, allocations: 1.783 MB / 1.201 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=163): time 4.979e-06/0.6311, allocations: 4 kB / 1.201 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=250): time 0.1174/0.7485, allocations: 28.23 MB / 1.228 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003357/0.7489, allocations: 0.4967 MB / 1.229 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004895/0.7538, allocations: 2.296 MB / 1.231 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000528/0.7543, allocations: 81.7 kB / 1.231 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.756, allocations: 1.434 MB / 1.233 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/0.7573, allocations: 0.8202 MB / 1.233 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/0.7586, allocations: 412.4 kB / 1.234 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7588, allocations: 301.1 kB / 1.234 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005232/0.764, allocations: 1.933 MB / 1.236 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005451/0.7695, allocations: 2.223 MB / 1.238 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.78, allocations: 4.169 MB / 1.242 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/0.7801, allocations: 4 kB / 1.242 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02591/0.806, allocations: 6.539 MB / 1.249 GB, free: 10.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.8062, allocations: 148.5 kB / 1.249 GB, free: 9.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.8063, allocations: 4 kB / 1.249 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01382/0.8201, allocations: 2.926 MB / 1.252 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003745/0.8239, allocations: 491.2 kB / 1.252 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8246/1.649, allocations: 18.83 MB / 1.271 GB, free: 151.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005798/1.654, allocations: 322.3 kB / 1.271 GB, free: 151.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006562/1.655, allocations: 88.72 kB / 1.271 GB, free: 151.1 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.002007/1.657, allocations: 0.7027 MB / 1.272 GB, free: 150.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.658, allocations: 340.3 kB / 1.272 GB, free: 150.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009605/1.659, allocations: 381.8 kB / 1.272 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/1.659, allocations: 24.78 kB / 1.272 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.088e-05/1.659, allocations: 10.23 kB / 1.272 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/1.659, allocations: 11.53 kB / 1.272 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00664/1.666, allocations: 3.623 MB / 1.276 GB, free: 149 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/1.666, allocations: 0.7969 kB / 1.276 GB, free: 149 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/1.668, allocations: 418.7 kB / 1.276 GB, free: 149 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01185/1.68, allocations: 2.868 MB / 1.279 GB, free: 148.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006714/1.681, allocations: 51.45 kB / 1.279 GB, free: 148.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03953/1.721, allocations: 18.62 MB / 1.297 GB, free: 139.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.721, allocations: 1.031 kB / 1.297 GB, free: 139.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/1.738, allocations: 6.183 MB / 1.303 GB, free: 137.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/1.74, allocations: 0.6948 MB / 1.304 GB, free: 137 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001164/1.741, allocations: 43.84 kB / 1.304 GB, free: 137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003396/1.745, allocations: 312.5 kB / 1.304 GB, free: 136.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001327/1.746, allocations: 360.8 kB / 1.305 GB, free: 136.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002683/1.746, allocations: 67.09 kB / 1.305 GB, free: 136.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00305/1.749, allocations: 1.54 MB / 1.306 GB, free: 136.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.1e-07/1.749, allocations: 0 / 1.306 GB, free: 136.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003977/1.753, allocations: 1.045 MB / 1.307 GB, free: 136.2 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.0004893/1.754, allocations: 175.6 kB / 1.307 GB, free: 136 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01936/1.773, allocations: 6.467 MB / 1.314 GB, free: 133.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/1.773, allocations: 2.406 kB / 1.314 GB, free: 133.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01538/1.789, allocations: 4.059 MB / 1.318 GB, free: 131.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006336/1.795, allocations: 1.141 MB / 1.319 GB, free: 130.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.811, allocations: 6.682 MB / 1.325 GB, free: 125.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00279/1.814, allocations: 2.227 MB / 1.328 GB, free: 123.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002735/1.816, allocations: 0.5087 MB / 1.328 GB, free: 122.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008678/1.817, allocations: 191.4 kB / 1.328 GB, free: 122.7 MB / 1.014 GB Notification: Performance of SimCode: time 3.186e-06/1.817, allocations: 0 / 1.328 GB, free: 122.7 MB / 1.014 GB Notification: Performance of Templates: time 0.1091/1.926, allocations: 75.67 MB / 1.402 GB, free: 47.89 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