Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.001784/0.001784, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002532/0.002532, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.849/2.849, allocations: 476 MB / 0.7707 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [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.002149/0.002149, allocations: 70.02 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.343, allocations: 170 MB / 1.284 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.198/0.541, allocations: 142.3 MB / 1.423 GB, free: 13.09 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004026/0.5451, allocations: 1.608 MB / 1.424 GB, free: 11.48 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005215/0.5456, allocations: 15.81 kB / 1.424 GB, free: 11.46 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000726/0.5463, allocations: 155 kB / 1.424 GB, free: 11.31 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.548, allocations: 0.5191 MB / 1.425 GB, free: 10.79 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.5494, allocations: 432.1 kB / 1.425 GB, free: 10.38 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.5505, allocations: 0.5771 MB / 1.426 GB, free: 9.793 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.5509, allocations: 136.7 kB / 1.426 GB, free: 9.656 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008641/0.5518, allocations: 334.7 kB / 1.426 GB, free: 9.328 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.5521, allocations: 163.3 kB / 1.427 GB, free: 9.168 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.5522, allocations: 12 kB / 1.427 GB, free: 9.156 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.5534, allocations: 0.5689 MB / 1.427 GB, free: 8.586 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.5535, allocations: 79.73 kB / 1.427 GB, free: 8.508 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.5537, allocations: 95.53 kB / 1.427 GB, free: 8.414 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0009928/0.5547, allocations: 494.2 kB / 1.428 GB, free: 7.93 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5547, allocations: 4 kB / 1.428 GB, free: 7.926 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5547, allocations: 3.938 kB / 1.428 GB, free: 7.922 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.5547, allocations: 0 / 1.428 GB, free: 7.922 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001091/0.5558, allocations: 0.5196 MB / 1.428 GB, free: 7.371 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.5558, allocations: 8.031 kB / 1.428 GB, free: 7.363 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.5562, allocations: 55.81 kB / 1.428 GB, free: 7.309 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006015/0.5568, allocations: 239.7 kB / 1.429 GB, free: 7.051 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.5569, allocations: 15.94 kB / 1.429 GB, free: 7.035 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.5569, allocations: 12 kB / 1.429 GB, free: 7.023 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.5574, allocations: 226.8 kB / 1.429 GB, free: 6.781 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.5574, allocations: 0 / 1.429 GB, free: 6.781 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.5574, allocations: 4 kB / 1.429 GB, free: 6.777 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.5574, allocations: 4 kB / 1.429 GB, free: 6.773 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.5578, allocations: 131.8 kB / 1.429 GB, free: 6.645 MB / 1.123 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.001265/0.5591, allocations: 0.6251 MB / 1.43 GB, free: 5.98 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.5594, allocations: 82.53 kB / 1.43 GB, free: 5.891 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.5595, allocations: 76.75 kB / 1.43 GB, free: 5.812 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.5598, allocations: 35.97 kB / 1.43 GB, free: 5.777 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.5598, allocations: 30.56 kB / 1.43 GB, free: 5.738 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.873e-06/0.5598, allocations: 0 / 1.43 GB, free: 5.738 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.000739/0.5605, allocations: 217.6 kB / 1.43 GB, free: 5.52 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.5606, allocations: 59.34 kB / 1.43 GB, free: 5.449 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.5609, allocations: 221.1 kB / 1.43 GB, free: 5.227 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.5609, allocations: 29.7 kB / 1.43 GB, free: 5.191 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.5611, allocations: 160.3 kB / 1.43 GB, free: 5.031 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.5611, allocations: 35.64 kB / 1.43 GB, free: 4.996 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.5612, allocations: 25.7 kB / 1.431 GB, free: 4.965 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5613, allocations: 334.8 kB / 1.431 GB, free: 4.629 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.5615, allocations: 44.83 kB / 1.431 GB, free: 4.582 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.5617, allocations: 221.6 kB / 1.431 GB, free: 4.316 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.562, allocations: 123.3 kB / 1.431 GB, free: 4.184 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.562, allocations: 0 / 1.431 GB, free: 4.184 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003733/0.5624, allocations: 157.4 kB / 1.431 GB, free: 4.023 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5624, allocations: 6.188 kB / 1.431 GB, free: 4.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5624, allocations: 8.062 kB / 1.431 GB, free: 4.012 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5624, allocations: 4.031 kB / 1.431 GB, free: 4.008 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.5626, allocations: 27.86 kB / 1.431 GB, free: 3.98 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.5626, allocations: 4 kB / 1.431 GB, free: 3.977 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.5627, allocations: 11.98 kB / 1.431 GB, free: 3.965 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.5628, allocations: 8 kB / 1.431 GB, free: 3.957 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002121/0.563, allocations: 144.1 kB / 1.432 GB, free: 3.812 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002461/0.5632, allocations: 221.6 kB / 1.432 GB, free: 3.547 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002572/0.5635, allocations: 127.4 kB / 1.432 GB, free: 3.41 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.5635, allocations: 0 / 1.432 GB, free: 3.41 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003448/0.5638, allocations: 153.4 kB / 1.432 GB, free: 3.254 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.5638, allocations: 4 kB / 1.432 GB, free: 3.25 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.5638, allocations: 4 kB / 1.432 GB, free: 3.246 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.487e-06/0.5638, allocations: 0 / 1.432 GB, free: 3.246 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.564, allocations: 24.02 kB / 1.432 GB, free: 3.223 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.564, allocations: 11.92 kB / 1.432 GB, free: 3.211 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.5641, allocations: 12.45 kB / 1.432 GB, free: 3.199 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.5641, allocations: 8 kB / 1.432 GB, free: 3.191 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.5643, allocations: 188.7 kB / 1.432 GB, free: 3 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.5643, allocations: 23.86 kB / 1.432 GB, free: 2.977 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.5647, allocations: 163.2 kB / 1.432 GB, free: 2.809 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5647, allocations: 11.94 kB / 1.432 GB, free: 2.797 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5648, allocations: 0 / 1.432 GB, free: 2.797 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5648, allocations: 0 / 1.432 GB, free: 2.797 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000959/0.5657, allocations: 0.5153 MB / 1.433 GB, free: 2.223 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.5657, allocations: 4.219 kB / 1.433 GB, free: 2.219 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.5658, allocations: 23.98 kB / 1.433 GB, free: 2.195 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5658, allocations: 4 kB / 1.433 GB, free: 2.191 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.5659, allocations: 4 kB / 1.433 GB, free: 2.188 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5659, allocations: 7.938 kB / 1.433 GB, free: 2.18 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5659, allocations: 0 / 1.433 GB, free: 2.18 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.5663, allocations: 297.2 kB / 1.433 GB, free: 1.852 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.5664, allocations: 27.84 kB / 1.433 GB, free: 1.824 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.5664, allocations: 8 kB / 1.433 GB, free: 1.816 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.5666, allocations: 15.98 kB / 1.433 GB, free: 1.801 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.5667, allocations: 12.11 kB / 1.433 GB, free: 1.789 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.5667, allocations: 16 kB / 1.433 GB, free: 1.773 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001799/0.5669, allocations: 164.5 kB / 1.434 GB, free: 1.613 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5669, allocations: 0 / 1.434 GB, free: 1.613 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005003/0.5674, allocations: 99.72 kB / 1.434 GB, free: 1.516 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003302/0.5677, allocations: 155.1 kB / 1.434 GB, free: 1.352 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005116/0.5682, allocations: 171.7 kB / 1.434 GB, free: 1.184 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5682, allocations: 0 / 1.434 GB, free: 1.184 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.5684, allocations: 59.89 kB / 1.434 GB, free: 1.125 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.5691, allocations: 86.94 kB / 1.434 GB, free: 1.043 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008869/0.5699, allocations: 466.9 kB / 1.435 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.5701, allocations: 154.1 kB / 1.435 GB, free: 372 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.5702, allocations: 19.44 kB / 1.435 GB, free: 352 kB / 1.123 GB Notification: Performance of SimCode: time 1.323e-06/0.5702, allocations: 0 / 1.435 GB, free: 352 kB / 1.123 GB Notification: Performance of Templates: time 0.007874/0.5781, allocations: 3.47 MB / 1.438 GB, free: 12.9 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.376238917000592]