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.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.00134/0.00134, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002133/0.002133, allocations: 192.9 kB / 22.11 MB, free: 4.223 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.543/1.543, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.054/3.054, allocations: 495.8 MB / 0.7831 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 71.89 kB / 1.137 GB, free: 12.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354/1.356, allocations: 173.6 MB / 1.307 GB, free: 33.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02242/1.379, allocations: 23.31 MB / 1.33 GB, free: 18.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03159/1.41, allocations: 18.05 MB / 1.347 GB, free: 5.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007811/1.418, allocations: 149.7 kB / 1.347 GB, free: 5.695 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01383/1.432, allocations: 4.356 MB / 1.352 GB, free: 3.148 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01819/1.45, allocations: 3.587 MB / 1.355 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006507/1.457, allocations: 1.331 MB / 1.356 GB, free: 284 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01626/1.473, allocations: 5.796 MB / 1.362 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009029/1.482, allocations: 2.466 MB / 1.364 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008811/1.491, allocations: 2.524 MB / 1.367 GB, free: 11.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009288/1.5, allocations: 2.5 MB / 1.369 GB, free: 10.06 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003233/1.503, allocations: 369.4 kB / 1.37 GB, free: 10.06 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006329/1.51, allocations: 0.9606 MB / 1.371 GB, free: 9.828 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00447/1.514, allocations: 1.234 MB / 1.372 GB, free: 9.184 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.009817/1.524, allocations: 1.996 MB / 1.374 GB, free: 7.961 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01963/1.543, allocations: 5.189 MB / 1.379 GB, free: 6.027 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/1.543, allocations: 0 / 1.379 GB, free: 6.027 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.925e-06/1.543, allocations: 0 / 1.379 GB, free: 6.027 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003698/1.544, allocations: 1.094 kB / 1.379 GB, free: 6.027 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.02586/1.57, allocations: 4.646 MB / 1.383 GB, free: 3.422 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/1.57, allocations: 9.438 kB / 1.383 GB, free: 3.422 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02061/1.59, allocations: 3.281 MB / 1.387 GB, free: 3.031 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009849/1.6, allocations: 2.133 MB / 1.389 GB, free: 1.828 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009403/1.601, allocations: 473.5 kB / 1.389 GB, free: 1.422 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002265/1.603, allocations: 235.5 kB / 1.389 GB, free: 1.344 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02187/1.625, allocations: 4.812 MB / 1.394 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/1.625, allocations: 1.188 kB / 1.394 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001685/1.627, allocations: 103.6 kB / 1.394 GB, free: 15.49 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003776/1.628, allocations: 173.8 kB / 1.394 GB, free: 15.47 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02267/1.65, allocations: 5.191 MB / 1.399 GB, free: 13.92 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04009/1.69, allocations: 14.32 MB / 1.413 GB, free: 1.672 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/1.702, allocations: 3.252 MB / 1.417 GB, free: 20 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004692/1.707, allocations: 1.37 MB / 1.418 GB, free: 15.33 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/1.707, allocations: 28.52 kB / 1.418 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005541/1.713, allocations: 1.798 MB / 1.42 GB, free: 14.2 MB / 1.107 GB Notification: Performance of pre-optimization done (n=163): time 1.066e-05/1.713, allocations: 0 / 1.42 GB, free: 14.2 MB / 1.107 GB Notification: Performance of matching and sorting (n=250): time 0.1405/1.853, allocations: 27.54 MB / 1.447 GB, free: 8.164 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003277/1.854, allocations: 0.4928 MB / 1.447 GB, free: 7.562 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/1.858, allocations: 2.3 MB / 1.449 GB, free: 5.25 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005869/1.858, allocations: 77.7 kB / 1.449 GB, free: 5.168 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/1.86, allocations: 1.456 MB / 1.451 GB, free: 3.699 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001182/1.861, allocations: 0.8598 MB / 1.452 GB, free: 2.832 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/1.862, allocations: 416.5 kB / 1.452 GB, free: 2.418 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.862, allocations: 301.1 kB / 1.452 GB, free: 2.121 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005708/1.868, allocations: 1.933 MB / 1.454 GB, free: 188 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00604/1.874, allocations: 2.237 MB / 1.456 GB, free: 13.86 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/1.886, allocations: 4.158 MB / 1.46 GB, free: 9.57 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.886, allocations: 4 kB / 1.46 GB, free: 9.566 MB / 1.139 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02148/1.907, allocations: 6.478 MB / 1.467 GB, free: 2.996 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/1.907, allocations: 152.5 kB / 1.467 GB, free: 2.816 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.907, allocations: 4 kB / 1.467 GB, free: 2.812 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/1.918, allocations: 2.917 MB / 1.47 GB, free: 15.89 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/1.922, allocations: 487.2 kB / 1.47 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04343/1.965, allocations: 18.64 MB / 1.488 GB, free: 12.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005173/1.97, allocations: 327.6 kB / 1.489 GB, free: 12.25 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/1.971, allocations: 87.97 kB / 1.489 GB, free: 12.16 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.001975/1.973, allocations: 0.7102 MB / 1.49 GB, free: 11.45 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008658/1.973, allocations: 353.8 kB / 1.49 GB, free: 11.1 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008529/1.974, allocations: 384.1 kB / 1.49 GB, free: 10.71 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/1.974, allocations: 24 kB / 1.49 GB, free: 10.69 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.297e-05/1.974, allocations: 12 kB / 1.49 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/1.974, allocations: 11.95 kB / 1.49 GB, free: 10.67 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006254/1.981, allocations: 3.604 MB / 1.494 GB, free: 7.016 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.981, allocations: 0 / 1.494 GB, free: 7.016 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/1.983, allocations: 419.4 kB / 1.494 GB, free: 6.605 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0105/1.994, allocations: 2.863 MB / 1.497 GB, free: 3.727 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004934/1.994, allocations: 43.98 kB / 1.497 GB, free: 3.684 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04221/2.037, allocations: 18.42 MB / 1.515 GB, free: 1.023 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/2.037, allocations: 0 / 1.515 GB, free: 1.023 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02011/2.057, allocations: 6.116 MB / 1.521 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002637/2.059, allocations: 0.642 MB / 1.522 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007549/2.06, allocations: 51.92 kB / 1.522 GB, free: 10.18 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003426/2.063, allocations: 311.6 kB / 1.522 GB, free: 9.879 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001385/2.065, allocations: 378.5 kB / 1.522 GB, free: 9.508 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/2.065, allocations: 67.97 kB / 1.522 GB, free: 9.441 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002568/2.068, allocations: 1.532 MB / 1.524 GB, free: 7.91 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/2.068, allocations: 0 / 1.524 GB, free: 7.91 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003433/2.071, allocations: 1.043 MB / 1.525 GB, free: 6.867 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.0004395/2.071, allocations: 171 kB / 1.525 GB, free: 6.688 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02493/2.096, allocations: 6.313 MB / 1.531 GB, free: 288 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/2.096, allocations: 3.938 kB / 1.531 GB, free: 284 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01873/2.115, allocations: 3.935 MB / 1.535 GB, free: 12.31 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00594/2.121, allocations: 1.134 MB / 1.536 GB, free: 11.22 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/2.137, allocations: 6.821 MB / 1.543 GB, free: 4.367 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/2.14, allocations: 2.227 MB / 1.545 GB, free: 2.105 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002819/2.143, allocations: 0.5096 MB / 1.546 GB, free: 1.59 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007518/2.143, allocations: 187.4 kB / 1.546 GB, free: 1.406 MB / 1.217 GB Notification: Performance of SimCode: time 1.733e-06/2.143, allocations: 0 / 1.546 GB, free: 1.406 MB / 1.217 GB Notification: Performance of Templates: time 0.1369/2.28, allocations: 78.34 MB / 1.622 GB, free: 3.918 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/jenkins/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: 14.152401144616306]