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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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=5000,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=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 111 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 190.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 60.12 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.699, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003122/0.7022, allocations: 2.03 MB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.7046, allocations: 1.663 MB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.7047, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.396e-05/0.7048, allocations: 23.78 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.7049, allocations: 47.55 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.706, allocations: 358.8 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.7062, allocations: 223.1 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.7064, allocations: 49.47 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.7065, allocations: 83.77 kB / 1.213 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.7068, allocations: 91.66 kB / 1.213 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.7068, allocations: 16 kB / 1.213 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009087/0.7077, allocations: 407.5 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.7078, allocations: 43.89 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.973e-05/0.7079, allocations: 83.66 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006258/0.7085, allocations: 436.8 kB / 1.214 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7085, allocations: 0 / 1.214 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7085, allocations: 0 / 1.214 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7085, allocations: 0 / 1.214 GB, free: 8.289 MB / 0.9356 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.0007488/0.7093, allocations: 0.513 MB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.7093, allocations: 8.031 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005536/0.7099, allocations: 92.64 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.71, allocations: 180.2 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/0.7101, allocations: 46.27 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.7101, allocations: 16.38 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.7106, allocations: 186 kB / 1.215 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.7106, allocations: 7.875 kB / 1.215 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.7106, allocations: 4 kB / 1.215 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.7106, allocations: 4 kB / 1.215 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.7111, allocations: 179.9 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.7124, allocations: 0.9151 MB / 1.216 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.7129, allocations: 174.5 kB / 1.216 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.7131, allocations: 80.81 kB / 1.216 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006222/0.7137, allocations: 0.5181 MB / 1.216 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.7138, allocations: 38.56 kB / 1.216 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.7138, allocations: 0 / 1.216 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0006869/0.7145, allocations: 237.7 kB / 1.217 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.7145, allocations: 55.34 kB / 1.217 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.7146, allocations: 164.7 kB / 1.217 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.7147, allocations: 25.7 kB / 1.217 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.248e-05/0.7148, allocations: 127.8 kB / 1.217 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.7148, allocations: 47.3 kB / 1.217 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.566e-05/0.7149, allocations: 33.7 kB / 1.217 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.715, allocations: 326.8 kB / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.7152, allocations: 71.95 kB / 1.218 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.7154, allocations: 97.67 kB / 1.218 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.7158, allocations: 143.7 kB / 1.218 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7158, allocations: 0 / 1.218 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004999/0.7163, allocations: 225.2 kB / 1.218 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.7163, allocations: 12.03 kB / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7163, allocations: 0 / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.7164, allocations: 0 / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.7166, allocations: 43.91 kB / 1.218 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.7166, allocations: 4 kB / 1.218 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.7168, allocations: 19.83 kB / 1.218 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.7168, allocations: 8 kB / 1.218 GB, free: 3.316 MB / 0.9356 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.0001036/0.7169, allocations: 125.8 kB / 1.218 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.717, allocations: 15.81 kB / 1.218 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.7175, allocations: 196.9 kB / 1.218 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7175, allocations: 0 / 1.218 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7175, allocations: 0 / 1.218 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.7176, allocations: 92.94 kB / 1.218 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.7176, allocations: 12 kB / 1.218 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.7178, allocations: 7.984 kB / 1.218 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.7179, allocations: 23.91 kB / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005533/0.7185, allocations: 252.9 kB / 1.219 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004854/0.719, allocations: 358.5 kB / 1.219 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001961/0.7192, allocations: 79.95 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.7193, allocations: 115.2 kB / 1.219 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of Backend: time 6.61e-07/0.7193, allocations: 0 / 1.219 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009596/0.7202, allocations: 350.7 kB / 1.22 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000702/0.7209, allocations: 0.7338 MB / 1.22 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.008598/0.7295, allocations: 5.084 MB / 1.225 GB, free: 11.84 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches