Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.002247/0.002247, 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.00301/0.00301, allocations: 187.9 kB / 22.1 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.677/1.677, allocations: 225.6 MB / 250.8 MB, free: 2.926 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.142/3.142, allocations: 495.8 MB / 0.783 GB, free: 12.25 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.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 1.137 GB, free: 12.21 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.259/1.261, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2395/1.5, allocations: 160.4 MB / 1.463 GB, free: 13.76 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.003988/1.504, allocations: 1.716 MB / 1.465 GB, free: 12.57 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004823/1.505, allocations: 17.97 kB / 1.465 GB, free: 12.56 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008419/1.506, allocations: 164 kB / 1.465 GB, free: 12.46 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.001851/1.508, allocations: 0.5401 MB / 1.466 GB, free: 12.18 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001542/1.509, allocations: 436.7 kB / 1.466 GB, free: 11.97 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001226/1.51, allocations: 0.5746 MB / 1.467 GB, free: 11.71 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/1.511, allocations: 143.5 kB / 1.467 GB, free: 11.65 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001457/1.512, allocations: 491 kB / 1.467 GB, free: 11.43 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/1.512, allocations: 161.2 kB / 1.468 GB, free: 11.36 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 3.667e-05/1.513, allocations: 13.91 kB / 1.468 GB, free: 11.36 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001317/1.514, allocations: 0.5761 MB / 1.468 GB, free: 11.18 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001501/1.514, allocations: 87.08 kB / 1.468 GB, free: 11.14 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001638/1.514, allocations: 112.4 kB / 1.468 GB, free: 11.07 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.0009944/1.515, allocations: 484.7 kB / 1.469 GB, free: 10.91 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.515, allocations: 0 / 1.469 GB, free: 10.91 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.633e-06/1.515, allocations: 3.938 kB / 1.469 GB, free: 10.9 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 8.536e-06/1.515, allocations: 1.125 kB / 1.469 GB, free: 10.9 MB / 1.154 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.0009633/1.516, allocations: 0.5135 MB / 1.469 GB, free: 10.48 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.516, allocations: 10.5 kB / 1.469 GB, free: 10.48 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004131/1.517, allocations: 62.22 kB / 1.469 GB, free: 10.46 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/1.517, allocations: 239.8 kB / 1.47 GB, free: 10.27 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/1.517, allocations: 9.938 kB / 1.47 GB, free: 10.26 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/1.517, allocations: 14.16 kB / 1.47 GB, free: 10.26 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/1.518, allocations: 205.4 kB / 1.47 GB, free: 10.14 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.518, allocations: 0 / 1.47 GB, free: 10.14 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/1.518, allocations: 5.312 kB / 1.47 GB, free: 10.14 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/1.518, allocations: 3.75 kB / 1.47 GB, free: 10.14 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/1.518, allocations: 125.9 kB / 1.47 GB, free: 10.11 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/1.519, allocations: 0.7496 MB / 1.471 GB, free: 9.492 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/1.52, allocations: 86.69 kB / 1.471 GB, free: 9.434 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/1.52, allocations: 74.75 kB / 1.471 GB, free: 9.395 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000245/1.52, allocations: 34.3 kB / 1.471 GB, free: 9.383 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/1.52, allocations: 36.91 kB / 1.471 GB, free: 9.34 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=10): time 1.423e-06/1.52, allocations: 0 / 1.471 GB, free: 9.34 MB / 1.154 GB
Notification: Performance of matching and sorting (n=10): time 0.0007645/1.521, allocations: 222.6 kB / 1.471 GB, free: 9.219 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/1.521, allocations: 52.88 kB / 1.471 GB, free: 9.156 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/1.521, allocations: 275.9 kB / 1.471 GB, free: 8.969 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 2.96e-05/1.522, allocations: 27.05 kB / 1.471 GB, free: 8.938 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001402/1.522, allocations: 148.4 kB / 1.472 GB, free: 8.801 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/1.522, allocations: 40.12 kB / 1.472 GB, free: 8.766 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/1.522, allocations: 32.83 kB / 1.472 GB, free: 8.738 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.000183/1.522, allocations: 331.6 kB / 1.472 GB, free: 8.41 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/1.522, allocations: 46.64 kB / 1.472 GB, free: 8.383 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/1.522, allocations: 95.98 kB / 1.472 GB, free: 8.305 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/1.523, allocations: 118.9 kB / 1.472 GB, free: 8.227 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.523, allocations: 0 / 1.472 GB, free: 8.227 MB / 1.154 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003757/1.523, allocations: 162.5 kB / 1.472 GB, free: 8.129 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.523, allocations: 5.25 kB / 1.472 GB, free: 8.129 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.523, allocations: 0 / 1.472 GB, free: 8.129 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.523, allocations: 5.906 kB / 1.472 GB, free: 8.125 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/1.523, allocations: 29.11 kB / 1.472 GB, free: 8.113 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.523, allocations: 1.5 kB / 1.472 GB, free: 8.113 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/1.523, allocations: 20.31 kB / 1.472 GB, free: 8.102 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/1.523, allocations: 5.062 kB / 1.472 GB, free: 8.102 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002138/1.524, allocations: 150 kB / 1.473 GB, free: 7.984 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001713/1.524, allocations: 89.83 kB / 1.473 GB, free: 7.91 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002593/1.524, allocations: 126 kB / 1.473 GB, free: 7.824 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.093e-06/1.524, allocations: 4 kB / 1.473 GB, free: 7.82 MB / 1.154 GB
Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003393/1.524, allocations: 149.1 kB / 1.473 GB, free: 7.734 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/1.524, allocations: 4.719 kB / 1.473 GB, free: 7.734 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-06/1.524, allocations: 2 kB / 1.473 GB, free: 7.734 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/1.524, allocations: 2.562 kB / 1.473 GB, free: 7.734 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/1.524, allocations: 31.77 kB / 1.473 GB, free: 7.719 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/1.524, allocations: 1.188 kB / 1.473 GB, free: 7.719 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/1.525, allocations: 24.41 kB / 1.473 GB, free: 7.703 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/1.525, allocations: 4.781 kB / 1.473 GB, free: 7.703 MB / 1.154 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.0001432/1.525, allocations: 192.4 kB / 1.473 GB, free: 7.512 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/1.525, allocations: 22.61 kB / 1.473 GB, free: 7.5 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/1.525, allocations: 167.9 kB / 1.473 GB, free: 7.387 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.525, allocations: 1.219 kB / 1.473 GB, free: 7.387 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.525, allocations: 1.25 kB / 1.473 GB, free: 7.387 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.525, allocations: 4 kB / 1.473 GB, free: 7.383 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/1.526, allocations: 0.5653 MB / 1.474 GB, free: 6.887 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.526, allocations: 2.438 kB / 1.474 GB, free: 6.887 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/1.526, allocations: 21.11 kB / 1.474 GB, free: 6.883 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.526, allocations: 2.75 kB / 1.474 GB, free: 6.883 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/1.526, allocations: 6.797 kB / 1.474 GB, free: 6.879 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.526, allocations: 2.625 kB / 1.474 GB, free: 6.879 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.526, allocations: 6.406 kB / 1.474 GB, free: 6.875 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/1.527, allocations: 295.6 kB / 1.474 GB, free: 6.617 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/1.527, allocations: 36.5 kB / 1.474 GB, free: 6.594 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/1.527, allocations: 6.672 kB / 1.474 GB, free: 6.59 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/1.527, allocations: 11.86 kB / 1.474 GB, free: 6.586 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/1.527, allocations: 16.17 kB / 1.474 GB, free: 6.574 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/1.527, allocations: 4.969 kB / 1.474 GB, free: 6.574 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.000246/1.527, allocations: 195.4 kB / 1.474 GB, free: 6.445 MB / 1.154 GB
Notification: Performance of sort global known variables: time 8e-08/1.527, allocations: 4 kB / 1.474 GB, free: 6.441 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0005383/1.528, allocations: 97.41 kB / 1.475 GB, free: 6.422 MB / 1.154 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.000476/1.528, allocations: 166.3 kB / 1.475 GB, free: 6.297 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.0005314/1.529, allocations: 167.8 kB / 1.475 GB, free: 6.219 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.529, allocations: 0 / 1.475 GB, free: 6.219 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001612/1.529, allocations: 68.58 kB / 1.475 GB, free: 6.184 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007161/1.53, allocations: 114.9 kB / 1.475 GB, free: 6.125 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000898/1.531, allocations: 447 kB / 1.475 GB, free: 5.781 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/1.531, allocations: 0.7579 MB / 1.476 GB, free: 5.047 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0002186/1.531, allocations: 67.09 kB / 1.476 GB, free: 5.016 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/1.532, allocations: 20.38 kB / 1.476 GB, free: 5.008 MB / 1.154 GB
Notification: Performance of SimCode: time 3.21e-07/1.532, allocations: 4 kB / 1.476 GB, free: 5.004 MB / 1.154 GB
Notification: Performance of Templates: time 0.01106/1.543, allocations: 4.478 MB / 1.481 GB, free: 2.789 MB / 1.154 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.677849161438644]