Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002003/0.002003, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.002127/0.002127, allocations: 189 kB / 22.22 MB, free: 5.105 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.551/1.551, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.406/3.406, allocations: 0.4893 GB / 0.7884 GB, free: 33.12 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-master/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_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 68.33 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4719, allocations: 174.9 MB / 1.316 GB, free: 9.727 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2318/0.7037, allocations: 162.2 MB / 1.474 GB, free: 6.914 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.004184/0.7079, allocations: 1.723 MB / 1.476 GB, free: 5.191 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005933/0.7085, allocations: 23.81 kB / 1.476 GB, free: 5.168 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007284/0.7093, allocations: 159 kB / 1.476 GB, free: 5.012 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.00176/0.711, allocations: 0.5406 MB / 1.477 GB, free: 4.469 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.7126, allocations: 428.8 kB / 1.477 GB, free: 4.055 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.001103/0.7137, allocations: 0.5771 MB / 1.478 GB, free: 3.477 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.714, allocations: 148.6 kB / 1.478 GB, free: 3.328 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.7153, allocations: 494.2 kB / 1.478 GB, free: 2.844 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.7155, allocations: 163.3 kB / 1.479 GB, free: 2.684 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.7156, allocations: 12 kB / 1.479 GB, free: 2.672 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.717, allocations: 0.7133 MB / 1.479 GB, free: 1.957 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.7171, allocations: 79.67 kB / 1.479 GB, free: 1.879 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.7173, allocations: 119.3 kB / 1.479 GB, free: 1.762 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.0009794/0.7182, allocations: 0.5021 MB / 1.48 GB, free: 1.258 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7183, allocations: 0 / 1.48 GB, free: 1.258 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.683e-06/0.7183, allocations: 0 / 1.48 GB, free: 1.258 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.022e-05/0.7183, allocations: 0 / 1.48 GB, free: 1.258 MB / 1.17 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.001024/0.7193, allocations: 0.5081 MB / 1.48 GB, free: 0.7188 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.7194, allocations: 12.03 kB / 1.48 GB, free: 0.707 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.7198, allocations: 55.78 kB / 1.48 GB, free: 0.6523 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.7205, allocations: 247.6 kB / 1.481 GB, free: 392 kB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.7205, allocations: 15.94 kB / 1.481 GB, free: 376 kB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.7205, allocations: 12 kB / 1.481 GB, free: 364 kB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.721, allocations: 196.1 kB / 1.481 GB, free: 152 kB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.721, allocations: 0 / 1.481 GB, free: 152 kB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.7211, allocations: 11.97 kB / 1.481 GB, free: 140 kB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.7211, allocations: 4 kB / 1.481 GB, free: 136 kB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.7214, allocations: 136.5 kB / 1.481 GB, free: 0 / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.7226, allocations: 0.7449 MB / 1.482 GB, free: 15.19 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.7229, allocations: 78.59 kB / 1.482 GB, free: 15.11 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.723, allocations: 72.75 kB / 1.482 GB, free: 15.03 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.7233, allocations: 35.97 kB / 1.482 GB, free: 15 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.7233, allocations: 34.56 kB / 1.482 GB, free: 14.95 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.7233, allocations: 0 / 1.482 GB, free: 14.95 MB / 1.186 GB
Notification: Performance of matching and sorting (n=10): time 0.0007519/0.724, allocations: 217.3 kB / 1.482 GB, free: 14.73 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.7241, allocations: 55.77 kB / 1.482 GB, free: 14.67 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.7245, allocations: 276.2 kB / 1.483 GB, free: 14.39 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.7246, allocations: 25.7 kB / 1.483 GB, free: 14.36 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.7247, allocations: 148 kB / 1.483 GB, free: 14.21 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.7248, allocations: 39.62 kB / 1.483 GB, free: 14.17 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.7249, allocations: 33.7 kB / 1.483 GB, free: 14.13 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0002341/0.7251, allocations: 330.8 kB / 1.483 GB, free: 13.8 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.7252, allocations: 48.83 kB / 1.483 GB, free: 13.75 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.7254, allocations: 93.05 kB / 1.483 GB, free: 13.64 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.7257, allocations: 123.3 kB / 1.483 GB, free: 13.51 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7257, allocations: 4 kB / 1.483 GB, free: 13.5 MB / 1.186 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000389/0.7261, allocations: 165.4 kB / 1.483 GB, free: 13.34 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.7261, allocations: 4 kB / 1.483 GB, free: 13.33 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.7261, allocations: 0 / 1.483 GB, free: 13.33 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/0.7262, allocations: 7.938 kB / 1.484 GB, free: 13.32 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.7263, allocations: 19.98 kB / 1.484 GB, free: 13.3 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7263, allocations: 0 / 1.484 GB, free: 13.3 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.7265, allocations: 27.84 kB / 1.484 GB, free: 13.28 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.7265, allocations: 12.06 kB / 1.484 GB, free: 13.27 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002541/0.7268, allocations: 152.1 kB / 1.484 GB, free: 13.11 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001826/0.727, allocations: 89.11 kB / 1.484 GB, free: 13.01 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002673/0.7272, allocations: 123.3 kB / 1.484 GB, free: 12.88 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.7272, allocations: 3.938 kB / 1.484 GB, free: 12.87 MB / 1.186 GB
Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003344/0.7276, allocations: 149.4 kB / 1.484 GB, free: 12.72 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.7276, allocations: 4 kB / 1.484 GB, free: 12.71 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.7276, allocations: 0 / 1.484 GB, free: 12.71 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-06/0.7276, allocations: 4 kB / 1.484 GB, free: 12.71 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.7277, allocations: 35.89 kB / 1.484 GB, free: 12.68 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-06/0.7277, allocations: 0 / 1.484 GB, free: 12.68 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.7279, allocations: 15.97 kB / 1.484 GB, free: 12.66 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.7279, allocations: 4 kB / 1.484 GB, free: 12.66 MB / 1.186 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.0001647/0.728, allocations: 184.3 kB / 1.484 GB, free: 12.47 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.7281, allocations: 23.86 kB / 1.484 GB, free: 12.45 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.7285, allocations: 171.5 kB / 1.484 GB, free: 12.27 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7285, allocations: 4 kB / 1.484 GB, free: 12.27 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7285, allocations: 0 / 1.484 GB, free: 12.27 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7285, allocations: 0 / 1.484 GB, free: 12.27 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.7296, allocations: 0.5657 MB / 1.485 GB, free: 11.63 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.7296, allocations: 4 kB / 1.485 GB, free: 11.62 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.7297, allocations: 19.98 kB / 1.485 GB, free: 11.61 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.7297, allocations: 7.984 kB / 1.485 GB, free: 11.6 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.7297, allocations: 0 / 1.485 GB, free: 11.6 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.7298, allocations: 4.219 kB / 1.485 GB, free: 11.59 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7298, allocations: 8 kB / 1.485 GB, free: 11.59 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.7302, allocations: 301.2 kB / 1.485 GB, free: 11.25 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.7303, allocations: 35.78 kB / 1.485 GB, free: 11.22 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.7304, allocations: 7.984 kB / 1.485 GB, free: 11.21 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.7305, allocations: 15.98 kB / 1.485 GB, free: 11.2 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.7306, allocations: 11.92 kB / 1.485 GB, free: 11.18 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.7306, allocations: 8 kB / 1.485 GB, free: 11.18 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0002285/0.7308, allocations: 195.1 kB / 1.486 GB, free: 10.99 MB / 1.186 GB
Notification: Performance of sort global known variables: time 8e-08/0.7308, allocations: 0 / 1.486 GB, free: 10.99 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0005043/0.7314, allocations: 99.81 kB / 1.486 GB, free: 10.89 MB / 1.186 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.0005552/0.7319, allocations: 157.3 kB / 1.486 GB, free: 10.73 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.0005099/0.7324, allocations: 167.7 kB / 1.486 GB, free: 10.57 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7324, allocations: 192 / 1.486 GB, free: 10.57 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.7326, allocations: 64.44 kB / 1.486 GB, free: 10.51 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/0.7333, allocations: 125.2 kB / 1.486 GB, free: 10.39 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/0.7343, allocations: 449.2 kB / 1.487 GB, free: 9.902 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.7349, allocations: 0.7597 MB / 1.487 GB, free: 9.117 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0002311/0.7352, allocations: 65.89 kB / 1.487 GB, free: 9.051 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.7352, allocations: 19.44 kB / 1.487 GB, free: 9.031 MB / 1.186 GB
Notification: Performance of SimCode: time 3.01e-07/0.7352, allocations: 0 / 1.487 GB, free: 9.031 MB / 1.186 GB
Notification: Performance of Templates: time 0.01142/0.7467, allocations: 4.482 MB / 1.492 GB, free: 4.609 MB / 1.186 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.235496066510677]