Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.001515/0.001515, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001701/0.001701, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.9974/0.9974, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.914/1.914, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.893e-05, allocations: 3.438 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.1292/0.1292, allocations: 153.7 MB / 0.9102 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.00628/0.1355, allocations: 4.323 MB / 0.9144 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008674/0.1364, allocations: 91.19 kB / 0.9145 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007777/0.1372, allocations: 412.7 kB / 0.9149 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.1389, allocations: 1.25 MB / 0.9161 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.1408, allocations: 1.302 MB / 0.9173 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002574/0.1434, allocations: 3.19 MB / 0.9205 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009024/0.1443, allocations: 0.8302 MB / 0.9213 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.1458, allocations: 1.566 MB / 0.9228 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007041/0.1465, allocations: 0.7436 MB / 0.9235 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.1466, allocations: 76 kB / 0.9236 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.147, allocations: 231.6 kB / 0.9238 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.1473, allocations: 486.3 kB / 0.9243 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.1476, allocations: 474.8 kB / 0.9247 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0008603/0.1485, allocations: 1.07 MB / 0.9258 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1485, allocations: 0 / 0.9258 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1485, allocations: 0 / 0.9258 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.1485, allocations: 0 / 0.9258 GB, free: 12.41 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001307/0.1498, allocations: 1.557 MB / 0.9273 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1498, allocations: 12.03 kB / 0.9273 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/0.1502, allocations: 187.8 kB / 0.9275 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008473/0.151, allocations: 0.8428 MB / 0.9283 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.465e-05/0.1511, allocations: 172.8 kB / 0.9285 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.1512, allocations: 84 kB / 0.9286 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.1519, allocations: 0.7836 MB / 0.9293 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1519, allocations: 4 kB / 0.9293 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.1519, allocations: 35.94 kB / 0.9294 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.152, allocations: 20 kB / 0.9294 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.1522, allocations: 271.2 kB / 0.9296 GB, free: 8.219 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.1545, allocations: 3.354 MB / 0.9329 GB, free: 4.719 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.1548, allocations: 0.886 MB / 0.9338 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.1549, allocations: 184.8 kB / 0.934 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.591e-05/0.155, allocations: 31.98 kB / 0.934 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1551, allocations: 54.44 kB / 0.934 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 2.776e-06/0.1551, allocations: 0 / 0.934 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.0007101/0.1558, allocations: 359.6 kB / 0.9344 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.1559, allocations: 401.8 kB / 0.9348 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.1564, allocations: 0.7792 MB / 0.9355 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1564, allocations: 37.7 kB / 0.9356 GB, free: 1.688 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.1566, allocations: 427 kB / 0.936 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.1566, allocations: 119.2 kB / 0.9361 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/0.1567, allocations: 77.62 kB / 0.9362 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.1568, allocations: 329.8 kB / 0.9365 GB, free: 0.7344 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.1568, allocations: 26.81 kB / 0.9365 GB, free: 0.707 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.1571, allocations: 0.8894 MB / 0.9374 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1573, allocations: 219.1 kB / 0.9376 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1573, allocations: 4 kB / 0.9376 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002802/0.1576, allocations: 278.6 kB / 0.9378 GB, free: 15 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1576, allocations: 8 kB / 0.9379 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1576, allocations: 3.984 kB / 0.9379 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.1579, allocations: 82 kB / 0.9379 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.158, allocations: 63.91 kB / 0.938 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.1595, allocations: 2.739 MB / 0.9407 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1597, allocations: 39.78 kB / 0.9407 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.1598, allocations: 19.98 kB / 0.9407 GB, free: 11.87 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.1599, allocations: 160.5 kB / 0.9409 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.1601, allocations: 67.92 kB / 0.9409 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.649e-05/0.1602, allocations: 105.1 kB / 0.941 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1602, allocations: 4 kB / 0.9411 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1602, allocations: 4 kB / 0.9411 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1602, allocations: 4 kB / 0.9411 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.1617, allocations: 1.997 MB / 0.943 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.1617, allocations: 11.98 kB / 0.943 GB, free: 9.375 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.1618, allocations: 51.95 kB / 0.9431 GB, free: 9.324 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.1619, allocations: 81.66 kB / 0.9431 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.162, allocations: 15.94 kB / 0.9432 GB, free: 9.223 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.1631, allocations: 2.732 MB / 0.9458 GB, free: 6.328 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.1631, allocations: 19.98 kB / 0.9459 GB, free: 6.309 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.1638, allocations: 0.5375 MB / 0.9464 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1639, allocations: 115.1 kB / 0.9465 GB, free: 5.547 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.164, allocations: 12 kB / 0.9465 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.1642, allocations: 27.98 kB / 0.9465 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.1642, allocations: 43.95 kB / 0.9466 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.1642, allocations: 19.94 kB / 0.9466 GB, free: 5.445 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002686/0.1645, allocations: 411 kB / 0.947 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.1645, allocations: 0 / 0.947 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006035/0.1651, allocations: 295.3 kB / 0.9473 GB, free: 4.746 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.1653, allocations: 124.2 kB / 0.9474 GB, free: 4.613 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.1657, allocations: 405.6 kB / 0.9478 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.1657, allocations: 12 kB / 0.9478 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.1659, allocations: 338.8 kB / 0.9481 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009881/0.1669, allocations: 443.7 kB / 0.9485 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.1687, allocations: 1.76 MB / 0.9502 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.1688, allocations: 242.9 kB / 0.9505 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002753/0.1691, allocations: 123.5 kB / 0.9506 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006047/0.1697, allocations: 376.9 kB / 0.9509 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of SimCode: time 9.61e-07/0.1697, allocations: 0 / 0.9509 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of Templates: time 0.02045/0.1902, allocations: 16.42 MB / 0.967 GB, free: 0.8242 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.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: 5.475607431959361]