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.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.001347/0.001347, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001535/0.001535, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9382/0.9382, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.261/2.261, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.539e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01079/0.0108, allocations: 14.99 MB / 0.9044 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.02332, allocations: 12.55 MB / 0.9166 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.02492, allocations: 174.6 kB / 0.9168 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.02615, allocations: 0.7169 MB / 0.9175 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005256/0.0314, allocations: 3.24 MB / 0.9207 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.03348, allocations: 1.306 MB / 0.922 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.004674/0.03816, allocations: 5.993 MB / 0.9278 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.0406, allocations: 2.853 MB / 0.9306 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/0.04403, allocations: 3.688 MB / 0.9342 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.04601, allocations: 2.033 MB / 0.9362 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0004103/0.04642, allocations: 364 kB / 0.9365 GB, free: 9.621 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005997/0.04702, allocations: 435.8 kB / 0.9369 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0007049/0.04773, allocations: 1.293 MB / 0.9382 GB, free: 7.898 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.04882, allocations: 1.376 MB / 0.9395 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.05111, allocations: 3.075 MB / 0.9426 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.05111, allocations: 0 / 0.9426 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.61e-07/0.05111, allocations: 0 / 0.9426 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.392e-05/0.05116, allocations: 0 / 0.9426 GB, free: 3.434 MB / 0.9011 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.004359/0.05551, allocations: 4.575 MB / 0.947 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.05555, allocations: 8.625 kB / 0.947 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/0.06079, allocations: 2.332 MB / 0.9493 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.0628, allocations: 2.102 MB / 0.9514 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.06302, allocations: 466.3 kB / 0.9518 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.06329, allocations: 248.3 kB / 0.952 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/0.06641, allocations: 3.21 MB / 0.9552 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.06644, allocations: 0 / 0.9552 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.06663, allocations: 108 kB / 0.9553 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.06675, allocations: 172.8 kB / 0.9554 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.06824, allocations: 1.2 MB / 0.9566 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007636/0.07588, allocations: 7.431 MB / 0.9639 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.07828, allocations: 1.748 MB / 0.9656 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.07876, allocations: 458.3 kB / 0.966 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.672e-05/0.07885, allocations: 37.31 kB / 0.966 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.07987, allocations: 1.59 MB / 0.9676 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=163): time 2.625e-06/0.07987, allocations: 0 / 0.9676 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250): time 0.01184/0.09171, allocations: 6.585 MB / 0.974 GB, free: 2.23 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.09186, allocations: 0.4928 MB / 0.9745 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.0931, allocations: 1.83 MB / 0.9763 GB, free: 15.78 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.09323, allocations: 77.7 kB / 0.9764 GB, free: 15.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007698/0.094, allocations: 1.511 MB / 0.9779 GB, free: 14.17 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004788/0.09448, allocations: 0.8674 MB / 0.9787 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005035/0.09499, allocations: 422.4 kB / 0.9791 GB, free: 12.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.09509, allocations: 484.6 kB / 0.9796 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.09576, allocations: 0.6258 MB / 0.9802 GB, free: 11.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009788/0.09674, allocations: 1.404 MB / 0.9815 GB, free: 10.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.09825, allocations: 1.558 MB / 0.9831 GB, free: 8.375 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.09826, allocations: 4 kB / 0.9831 GB, free: 8.371 MB / 0.948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.004815/0.1031, allocations: 3.405 MB / 0.9864 GB, free: 4.844 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.1031, allocations: 148.5 kB / 0.9865 GB, free: 4.668 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1031, allocations: 11.94 kB / 0.9865 GB, free: 4.656 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005555/0.1087, allocations: 2.668 MB / 0.9892 GB, free: 1.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/0.1096, allocations: 387.4 kB / 0.9895 GB, free: 1.602 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/0.1238, allocations: 10.75 MB / 1 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.1251, allocations: 215.7 kB / 1 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.1252, allocations: 71.97 kB / 1 GB, free: 6.371 MB / 0.9636 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.0005835/0.1258, allocations: 286.3 kB / 1.001 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004026/0.1262, allocations: 398 kB / 1.001 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.1265, allocations: 361.2 kB / 1.001 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.1265, allocations: 28 kB / 1.001 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/0.1265, allocations: 8 kB / 1.001 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.1265, allocations: 11.95 kB / 1.001 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.1283, allocations: 1.721 MB / 1.003 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1283, allocations: 0 / 1.003 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.1291, allocations: 307.6 kB / 1.003 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005427/0.1345, allocations: 2.613 MB / 1.006 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.1346, allocations: 47.97 kB / 1.006 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.1484, allocations: 10.54 MB / 1.016 GB, free: 5.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1484, allocations: 0 / 1.016 GB, free: 5.77 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004769/0.1532, allocations: 3.041 MB / 1.019 GB, free: 2.691 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007947/0.154, allocations: 0.5329 MB / 1.02 GB, free: 2.156 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.1542, allocations: 51.98 kB / 1.02 GB, free: 2.105 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009916/0.1552, allocations: 203.8 kB / 1.02 GB, free: 1.906 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000523/0.1557, allocations: 362.5 kB / 1.02 GB, free: 1.555 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.1558, allocations: 51.97 kB / 1.02 GB, free: 1.504 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007521/0.1566, allocations: 1.027 MB / 1.021 GB, free: 480 kB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.1566, allocations: 0 / 1.021 GB, free: 480 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00177/0.1583, allocations: 1.047 MB / 1.022 GB, free: 15.42 MB / 0.9948 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.0002293/0.1586, allocations: 163 kB / 1.023 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006737/0.1653, allocations: 3.901 MB / 1.026 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1653, allocations: 5.375 kB / 1.026 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005872/0.1712, allocations: 2.811 MB / 1.029 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.1737, allocations: 1.101 MB / 1.03 GB, free: 7.293 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/0.1806, allocations: 5.592 MB / 1.036 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/0.1813, allocations: 0.7875 MB / 1.036 GB, free: 0.832 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001012/0.1823, allocations: 359.5 kB / 1.037 GB, free: 488 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/0.1839, allocations: 0.9545 MB / 1.038 GB, free: 15.52 MB / 1.01 GB Notification: Performance of SimCode: time 1.403e-06/0.1839, allocations: 0 / 1.038 GB, free: 15.52 MB / 1.01 GB Notification: Performance of Templates: time 0.4093/0.5933, allocations: 78.23 MB / 1.114 GB, free: 147.8 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.11615541530773]