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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002331/0.002331, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 496.2 MB / 0.7819 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 68.12 kB / 1.136 GB, free: 12.34 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 173.6 MB / 1.305 GB, free: 33.37 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02243/1.081, allocations: 23.49 MB / 1.328 GB, free: 17.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02915/1.11, allocations: 18.13 MB / 1.346 GB, free: 5.125 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004273/1.114, allocations: 111.4 kB / 1.346 GB, free: 5.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01121/1.125, allocations: 4.319 MB / 1.35 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/1.138, allocations: 3.575 MB / 1.354 GB, free: 416 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005155/1.143, allocations: 1.334 MB / 1.355 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01363/1.157, allocations: 5.777 MB / 1.361 GB, free: 12.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008579/1.166, allocations: 2.466 MB / 1.363 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009431/1.175, allocations: 2.479 MB / 1.366 GB, free: 10.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008809/1.184, allocations: 2.508 MB / 1.368 GB, free: 9.539 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002635/1.187, allocations: 369.7 kB / 1.368 GB, free: 9.539 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006127/1.193, allocations: 1.059 MB / 1.37 GB, free: 9.266 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003868/1.197, allocations: 1.22 MB / 1.371 GB, free: 8.641 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.007343/1.204, allocations: 2.001 MB / 1.373 GB, free: 7.418 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01595/1.22, allocations: 5.185 MB / 1.378 GB, free: 5.496 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.22, allocations: 1.438 kB / 1.378 GB, free: 5.496 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.853e-06/1.22, allocations: 3.938 kB / 1.378 GB, free: 5.492 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000324/1.22, allocations: 0 / 1.378 GB, free: 5.492 MB / 1.076 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.02115/1.241, allocations: 4.721 MB / 1.382 GB, free: 2.793 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.241, allocations: 10.17 kB / 1.382 GB, free: 2.793 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/1.26, allocations: 3.284 MB / 1.386 GB, free: 2.398 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009015/1.269, allocations: 2.251 MB / 1.388 GB, free: 1.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001083/1.27, allocations: 465 kB / 1.388 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003289/1.274, allocations: 236.8 kB / 1.388 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02156/1.295, allocations: 4.823 MB / 1.393 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001434/1.295, allocations: 0 / 1.393 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001497/1.297, allocations: 103.1 kB / 1.393 GB, free: 14.84 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003348/1.297, allocations: 170.8 kB / 1.393 GB, free: 14.82 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/1.315, allocations: 5.198 MB / 1.398 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0377/1.353, allocations: 14.42 MB / 1.413 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/1.365, allocations: 3.252 MB / 1.416 GB, free: 15.21 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004603/1.37, allocations: 1.378 MB / 1.417 GB, free: 14.51 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/1.37, allocations: 24.08 kB / 1.417 GB, free: 14.5 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005624/1.375, allocations: 1.8 MB / 1.419 GB, free: 13.38 MB / 1.107 GB Notification: Performance of pre-optimization done (n=163): time 1.244e-05/1.375, allocations: 1 kB / 1.419 GB, free: 13.38 MB / 1.107 GB Notification: Performance of matching and sorting (n=250): time 0.1361/1.512, allocations: 28.22 MB / 1.446 GB, free: 6.547 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004486/1.512, allocations: 0.4928 MB / 1.447 GB, free: 5.945 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005331/1.517, allocations: 2.296 MB / 1.449 GB, free: 3.637 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0008323/1.518, allocations: 73.7 kB / 1.449 GB, free: 3.559 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001999/1.52, allocations: 1.46 MB / 1.451 GB, free: 2.086 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001786/1.522, allocations: 0.8598 MB / 1.451 GB, free: 1.219 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002082/1.524, allocations: 420.4 kB / 1.452 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.524, allocations: 305.1 kB / 1.452 GB, free: 0.5 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006018/1.53, allocations: 1.925 MB / 1.454 GB, free: 14.57 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006406/1.537, allocations: 2.239 MB / 1.456 GB, free: 12.25 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/1.549, allocations: 4.165 MB / 1.46 GB, free: 7.945 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/1.549, allocations: 0 / 1.46 GB, free: 7.945 MB / 1.139 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02198/1.571, allocations: 6.478 MB / 1.467 GB, free: 1.375 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/1.571, allocations: 148.5 kB / 1.467 GB, free: 1.199 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/1.571, allocations: 4 kB / 1.467 GB, free: 1.195 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/1.582, allocations: 2.926 MB / 1.47 GB, free: 14.26 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/1.585, allocations: 487.2 kB / 1.47 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04684/1.632, allocations: 18.86 MB / 1.489 GB, free: 10.67 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004864/1.637, allocations: 323.6 kB / 1.489 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006881/1.638, allocations: 83.98 kB / 1.489 GB, free: 10.27 MB / 1.17 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.002333/1.64, allocations: 0.7066 MB / 1.49 GB, free: 9.559 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.641, allocations: 345.8 kB / 1.49 GB, free: 9.219 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/1.642, allocations: 388.1 kB / 1.49 GB, free: 8.832 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/1.642, allocations: 31.98 kB / 1.49 GB, free: 8.801 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.176e-05/1.642, allocations: 8 kB / 1.49 GB, free: 8.793 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-05/1.642, allocations: 11.95 kB / 1.49 GB, free: 8.781 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006836/1.649, allocations: 3.628 MB / 1.494 GB, free: 5.098 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/1.649, allocations: 0 / 1.494 GB, free: 5.098 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/1.652, allocations: 415.4 kB / 1.494 GB, free: 4.691 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01063/1.663, allocations: 2.868 MB / 1.497 GB, free: 1.812 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005353/1.663, allocations: 47.97 kB / 1.497 GB, free: 1.766 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04353/1.707, allocations: 18.64 MB / 1.515 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.707, allocations: 3.984 kB / 1.515 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02013/1.727, allocations: 6.104 MB / 1.521 GB, free: 8.688 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002477/1.729, allocations: 0.7173 MB / 1.522 GB, free: 7.949 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/1.731, allocations: 51.94 kB / 1.522 GB, free: 7.898 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004096/1.735, allocations: 311.6 kB / 1.522 GB, free: 7.594 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001538/1.736, allocations: 354.7 kB / 1.523 GB, free: 7.246 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004069/1.737, allocations: 71.97 kB / 1.523 GB, free: 7.176 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003225/1.74, allocations: 1.532 MB / 1.524 GB, free: 5.645 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/1.74, allocations: 4 kB / 1.524 GB, free: 5.641 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004189/1.744, allocations: 1.039 MB / 1.525 GB, free: 4.602 MB / 1.201 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.0005218/1.745, allocations: 163.1 kB / 1.525 GB, free: 4.434 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0249/1.769, allocations: 6.332 MB / 1.532 GB, free: 14.01 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.769, allocations: 0 / 1.532 GB, free: 14.01 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.01769/1.787, allocations: 3.931 MB / 1.535 GB, free: 10.04 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006508/1.794, allocations: 1.134 MB / 1.537 GB, free: 8.945 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/1.811, allocations: 6.83 MB / 1.543 GB, free: 2.086 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002981/1.814, allocations: 2.234 MB / 1.545 GB, free: 15.81 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002842/1.817, allocations: 0.506 MB / 1.546 GB, free: 15.3 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009297/1.818, allocations: 183.4 kB / 1.546 GB, free: 15.12 MB / 1.232 GB Notification: Performance of SimCode: time 1.653e-06/1.818, allocations: 4 kB / 1.546 GB, free: 15.12 MB / 1.232 GB Notification: Performance of Templates: time 0.1426/1.96, allocations: 77.65 MB / 1.622 GB, free: 2.324 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.485443270765245]