Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 104.2 kB / 19.71 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 215.5 kB / 23 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.244/3.244, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 70.5 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3423, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.028/0.3703, allocations: 21.26 MB / 1.348 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02776/0.398, allocations: 16.86 MB / 1.364 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.4011, allocations: 170.7 kB / 1.365 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01152/0.4126, allocations: 4.158 MB / 1.369 GB, free: 6.414 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/0.4234, allocations: 3.587 MB / 1.372 GB, free: 2.816 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00347/0.4268, allocations: 1.316 MB / 1.373 GB, free: 1.504 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008557/0.4354, allocations: 5.775 MB / 1.379 GB, free: 11.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004843/0.4402, allocations: 2.885 MB / 1.382 GB, free: 8.746 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005591/0.4458, allocations: 2.839 MB / 1.385 GB, free: 5.898 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00437/0.4502, allocations: 2.311 MB / 1.387 GB, free: 3.578 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008971/0.4511, allocations: 364 kB / 1.387 GB, free: 3.223 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.4533, allocations: 0.9594 MB / 1.388 GB, free: 2.262 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.4547, allocations: 1.222 MB / 1.389 GB, free: 1.035 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002617/0.4573, allocations: 1.629 MB / 1.391 GB, free: 15.4 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007047/0.4643, allocations: 5.191 MB / 1.396 GB, free: 10.19 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4643, allocations: 0 / 1.396 GB, free: 10.19 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4643, allocations: 3.938 kB / 1.396 GB, free: 10.18 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000128/0.4645, allocations: 0 / 1.396 GB, free: 10.18 MB / 1.092 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.01212/0.4766, allocations: 4.639 MB / 1.401 GB, free: 5.445 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.4766, allocations: 8.031 kB / 1.401 GB, free: 5.438 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.4928, allocations: 3.279 MB / 1.404 GB, free: 2.152 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005496/0.4983, allocations: 2.155 MB / 1.406 GB, free: 15.92 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005634/0.4988, allocations: 470.2 kB / 1.406 GB, free: 15.4 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.4999, allocations: 235.9 kB / 1.406 GB, free: 15.17 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.5171, allocations: 5.374 MB / 1.412 GB, free: 9.539 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.567e-05/0.5172, allocations: 0 / 1.412 GB, free: 9.539 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000549/0.5177, allocations: 107.9 kB / 1.412 GB, free: 9.434 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003577/0.5181, allocations: 168.8 kB / 1.412 GB, free: 9.266 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.533, allocations: 5.198 MB / 1.417 GB, free: 4.051 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02277/0.5558, allocations: 8.744 MB / 1.426 GB, free: 11.19 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009845/0.5656, allocations: 3.238 MB / 1.429 GB, free: 7.93 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003708/0.5693, allocations: 1.373 MB / 1.43 GB, free: 6.559 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.5695, allocations: 21.31 kB / 1.43 GB, free: 6.539 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004604/0.5741, allocations: 2.458 MB / 1.433 GB, free: 3.852 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 4.588e-06/0.5741, allocations: 0 / 1.433 GB, free: 3.852 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1244/0.6984, allocations: 27.51 MB / 1.459 GB, free: 8.281 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002942/0.6987, allocations: 0.4928 MB / 1.46 GB, free: 7.68 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/0.7018, allocations: 2.002 MB / 1.462 GB, free: 5.664 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004308/0.7022, allocations: 73.7 kB / 1.462 GB, free: 5.586 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.7036, allocations: 1.469 MB / 1.463 GB, free: 4.109 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009413/0.7045, allocations: 0.8598 MB / 1.464 GB, free: 3.242 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009087/0.7054, allocations: 424.5 kB / 1.465 GB, free: 2.82 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7056, allocations: 301.1 kB / 1.465 GB, free: 2.523 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005082/0.7106, allocations: 2.066 MB / 1.467 GB, free: 432 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005748/0.7164, allocations: 2.777 MB / 1.47 GB, free: 13.43 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.7268, allocations: 4.158 MB / 1.474 GB, free: 9.141 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.7268, allocations: 4 kB / 1.474 GB, free: 9.137 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01873/0.7455, allocations: 6.596 MB / 1.48 GB, free: 2.422 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.7457, allocations: 148.5 kB / 1.48 GB, free: 2.246 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.7457, allocations: 11.94 kB / 1.48 GB, free: 2.234 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.7562, allocations: 2.925 MB / 1.483 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/0.7591, allocations: 483.2 kB / 1.484 GB, free: 14.83 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03976/0.7989, allocations: 18.2 MB / 1.501 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004556/0.8034, allocations: 323.5 kB / 1.502 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007906/0.8042, allocations: 87.97 kB / 1.502 GB, free: 12.05 MB / 1.201 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.002743/0.807, allocations: 0.7024 MB / 1.502 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/0.8081, allocations: 318 kB / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009322/0.8091, allocations: 365.2 kB / 1.503 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.8091, allocations: 15.95 kB / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.8091, allocations: 4 kB / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/0.8111, allocations: 0.6071 MB / 1.504 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000653/0.8118, allocations: 47.98 kB / 1.504 GB, free: 9.98 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003532/0.8153, allocations: 319.6 kB / 1.504 GB, free: 9.668 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/0.8165, allocations: 421.1 kB / 1.504 GB, free: 9.258 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01866/0.8351, allocations: 6.159 MB / 1.51 GB, free: 3.078 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01616/0.8513, allocations: 6.505 MB / 1.517 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00513/0.8564, allocations: 2.084 MB / 1.519 GB, free: 10.46 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002093/0.8585, allocations: 1.313 MB / 1.52 GB, free: 9.145 MB / 1.217 GB Notification: Performance of Backend: time 5.11e-07/0.8585, allocations: 0 / 1.52 GB, free: 9.145 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.02081/0.8793, allocations: 5.121 MB / 1.525 GB, free: 3.887 MB / 1.217 GB Notification: Performance of SimCode: time 0.01254/0.8919, allocations: 7.586 MB / 1.533 GB, free: 12.27 MB / 1.232 GB Notification: Performance of Templates: time 0.8497/1.742, allocations: 84.8 MB / 1.615 GB, free: 266.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.65756764300022]