Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001698/0.001698, allocations: 110 kB / 18.94 MB, free: 2.789 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.002245/0.002245, allocations: 195.3 kB / 22.23 MB, free: 5.234 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.584/1.584, allocations: 225.6 MB / 251 MB, free: 13 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.282/3.282, allocations: 0.4893 GB / 0.7884 GB, free: 33.05 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.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor")
translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 64.55 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4122, allocations: 174.9 MB / 1.316 GB, free: 9.723 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003629/0.4158, allocations: 2.055 MB / 1.318 GB, free: 7.656 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002671/0.4185, allocations: 1.678 MB / 1.32 GB, free: 5.973 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.4186, allocations: 4 kB / 1.32 GB, free: 5.969 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 6.986e-05/0.4186, allocations: 15.8 kB / 1.32 GB, free: 5.953 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.4187, allocations: 51.55 kB / 1.32 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009872/0.4197, allocations: 358.8 kB / 1.32 GB, free: 5.551 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002583/0.42, allocations: 223.1 kB / 1.32 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.4201, allocations: 45.58 kB / 1.32 GB, free: 5.281 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.4203, allocations: 79.78 kB / 1.32 GB, free: 5.203 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.4204, allocations: 87.72 kB / 1.32 GB, free: 5.117 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.4205, allocations: 23.94 kB / 1.321 GB, free: 5.094 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008501/0.4213, allocations: 419.5 kB / 1.321 GB, free: 4.684 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.4214, allocations: 43.89 kB / 1.321 GB, free: 4.641 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.4215, allocations: 87.66 kB / 1.321 GB, free: 4.555 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006307/0.4221, allocations: 430.7 kB / 1.321 GB, free: 4.133 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4221, allocations: 0 / 1.321 GB, free: 4.133 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.864e-06/0.4221, allocations: 0 / 1.321 GB, free: 4.133 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.606e-06/0.4221, allocations: 0 / 1.321 GB, free: 4.133 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 36
 * Number of variables: 36
Notification: Performance of Generate backend data structure: time 0.0008732/0.423, allocations: 453.2 kB / 1.322 GB, free: 3.656 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.423, allocations: 20.02 kB / 1.322 GB, free: 3.637 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005718/0.4236, allocations: 84.75 kB / 1.322 GB, free: 3.555 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.4237, allocations: 126.4 kB / 1.322 GB, free: 3.406 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.935e-05/0.4238, allocations: 46.27 kB / 1.322 GB, free: 3.355 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.4238, allocations: 12.38 kB / 1.322 GB, free: 3.344 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.4243, allocations: 186 kB / 1.322 GB, free: 3.156 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4243, allocations: 7.875 kB / 1.322 GB, free: 3.148 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.4243, allocations: 8 kB / 1.322 GB, free: 3.141 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.4243, allocations: 7.984 kB / 1.322 GB, free: 3.133 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.4248, allocations: 175.9 kB / 1.323 GB, free: 2.961 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.4261, allocations: 0.5854 MB / 1.323 GB, free: 2.332 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.4266, allocations: 174.5 kB / 1.323 GB, free: 2.152 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.4268, allocations: 64.83 kB / 1.323 GB, free: 2.086 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.4272, allocations: 83.84 kB / 1.323 GB, free: 2.004 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4273, allocations: 34.5 kB / 1.323 GB, free: 1.961 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.4273, allocations: 0 / 1.323 GB, free: 1.961 MB / 1.014 GB
Notification: Performance of matching and sorting (n=14): time 0.000697/0.428, allocations: 237 kB / 1.324 GB, free: 1.727 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.428, allocations: 59.34 kB / 1.324 GB, free: 1.656 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.4281, allocations: 164.9 kB / 1.324 GB, free: 1.488 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.4282, allocations: 29.7 kB / 1.324 GB, free: 1.453 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.4283, allocations: 123.8 kB / 1.324 GB, free: 1.328 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.4283, allocations: 47.59 kB / 1.324 GB, free: 1.281 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.4284, allocations: 41.7 kB / 1.324 GB, free: 1.234 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001338/0.4285, allocations: 318.8 kB / 1.324 GB, free: 0.9141 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.4287, allocations: 71.95 kB / 1.324 GB, free: 0.8438 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.4289, allocations: 99.39 kB / 1.325 GB, free: 0.7422 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.4293, allocations: 151.3 kB / 1.325 GB, free: 0.5898 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4293, allocations: 3.938 kB / 1.325 GB, free: 0.5859 MB / 1.014 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005052/0.4298, allocations: 218.8 kB / 1.325 GB, free: 376 kB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4298, allocations: 4 kB / 1.325 GB, free: 372 kB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4298, allocations: 0 / 1.325 GB, free: 372 kB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4298, allocations: 0 / 1.325 GB, free: 372 kB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.4301, allocations: 39.91 kB / 1.325 GB, free: 332 kB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.4301, allocations: 4 kB / 1.325 GB, free: 328 kB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.4303, allocations: 23.88 kB / 1.325 GB, free: 304 kB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4303, allocations: 4.031 kB / 1.325 GB, free: 300 kB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (20):
 * Single equations (assignments): 20
 * 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.0001202/0.4304, allocations: 133.7 kB / 1.325 GB, free: 156 kB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.4305, allocations: 15.89 kB / 1.325 GB, free: 140 kB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.431, allocations: 190.3 kB / 1.325 GB, free: 15.94 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.431, allocations: 8 kB / 1.325 GB, free: 15.93 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.431, allocations: 0 / 1.325 GB, free: 15.93 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.431, allocations: 3.984 kB / 1.325 GB, free: 15.93 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.4323, allocations: 0.577 MB / 1.326 GB, free: 15.3 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4323, allocations: 0 / 1.326 GB, free: 15.3 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.4325, allocations: 35.91 kB / 1.326 GB, free: 15.26 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4325, allocations: 4 kB / 1.326 GB, free: 15.26 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.4325, allocations: 0 / 1.326 GB, free: 15.26 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.4325, allocations: 4 kB / 1.326 GB, free: 15.25 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4325, allocations: 3.984 kB / 1.326 GB, free: 15.25 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.433, allocations: 293.1 kB / 1.326 GB, free: 14.94 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.4331, allocations: 11.89 kB / 1.326 GB, free: 14.93 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.4331, allocations: 8 kB / 1.326 GB, free: 14.92 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.4333, allocations: 15.98 kB / 1.326 GB, free: 14.91 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.4333, allocations: 23.84 kB / 1.326 GB, free: 14.88 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4334, allocations: 4 kB / 1.326 GB, free: 14.88 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 9.57e-05/0.4335, allocations: 125.2 kB / 1.326 GB, free: 14.76 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1e-07/0.4335, allocations: 0 / 1.326 GB, free: 14.76 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004446/0.4339, allocations: 123.6 kB / 1.327 GB, free: 14.64 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 1 (com.isOn)
 * Number of discrete states: 1 (com.isOn)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (14):
 * Single equations (assignments): 14
 * 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.0004404/0.4343, allocations: 227.2 kB / 1.327 GB, free: 14.41 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0004981/0.4348, allocations: 170.3 kB / 1.327 GB, free: 14.24 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4348, allocations: 4.062 kB / 1.327 GB, free: 14.24 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.4351, allocations: 75.89 kB / 1.327 GB, free: 14.16 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.4355, allocations: 38.02 kB / 1.327 GB, free: 14.13 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000682/0.4362, allocations: 329.1 kB / 1.327 GB, free: 13.78 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.4365, allocations: 0.7086 MB / 1.328 GB, free: 13.04 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001332/0.4366, allocations: 28.09 kB / 1.328 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.4367, allocations: 27.36 kB / 1.328 GB, free: 12.99 MB / 1.029 GB
Notification: Performance of SimCode: time 3.71e-07/0.4367, allocations: 4 kB / 1.328 GB, free: 12.99 MB / 1.029 GB
Notification: Performance of Templates: time 0.00891/0.4456, allocations: 4.409 MB / 1.332 GB, free: 8.633 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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: 9.720128891989589]