Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 113 kB / 16.42 MB, free: 6.457 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.001972/0.001972, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.89 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7546, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002773/0.7574, allocations: 2.043 MB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.7595, allocations: 1.659 MB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.7596, allocations: 2.469 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.625e-05/0.7597, allocations: 23.5 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.922e-05/0.7598, allocations: 49.28 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009959/0.7608, allocations: 349.8 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.761, allocations: 223.4 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.7612, allocations: 54.02 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.7613, allocations: 81.02 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.7615, allocations: 91.75 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.7615, allocations: 18.47 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008191/0.7623, allocations: 414.9 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.7624, allocations: 41.58 kB / 1.094 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.708e-05/0.7625, allocations: 85.36 kB / 1.094 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.7631, allocations: 427.1 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7631, allocations: 4.844 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7632, allocations: 0 / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.7632, allocations: 0 / 1.094 GB, free: 2.137 MB / 0.8575 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.0007582/0.7639, allocations: 0.5223 MB / 1.095 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.764, allocations: 9.062 kB / 1.095 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006001/0.7646, allocations: 86.03 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.917e-05/0.7647, allocations: 178.2 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/0.7648, allocations: 49.5 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.7648, allocations: 14.84 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.7652, allocations: 176.2 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7652, allocations: 3.938 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.7653, allocations: 6.375 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.7653, allocations: 3.531 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.7657, allocations: 191.6 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.767, allocations: 0.9103 MB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.7675, allocations: 170.3 kB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.7677, allocations: 83.92 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/0.7684, allocations: 0.5192 MB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.7684, allocations: 32.92 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.7684, allocations: 0 / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0007432/0.7691, allocations: 238.5 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.7692, allocations: 61.28 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.7693, allocations: 159.9 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.7694, allocations: 28.25 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.7694, allocations: 121.6 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.7695, allocations: 46.89 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.7696, allocations: 37.89 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.7697, allocations: 322.8 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.7699, allocations: 82.92 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.7701, allocations: 91.88 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.7706, allocations: 145.5 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7706, allocations: 1.125 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000527/0.7711, allocations: 223.6 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7711, allocations: 6.766 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.7711, allocations: 0 / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7712, allocations: 1.438 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.7714, allocations: 40.22 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.7714, allocations: 5 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.7716, allocations: 25.27 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.7717, allocations: 9.766 kB / 1.098 GB, free: 14.63 MB / 0.8731 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.0001114/0.7718, allocations: 124.2 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.7718, allocations: 12.03 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.7724, allocations: 212 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.7724, allocations: 1.641 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7724, allocations: 0 / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.7725, allocations: 93.89 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.7725, allocations: 6.156 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.7727, allocations: 13.09 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.7728, allocations: 14.91 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006027/0.7734, allocations: 258.4 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005236/0.7739, allocations: 352.3 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002044/0.7741, allocations: 73.23 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.378e-05/0.7742, allocations: 125 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of Backend: time 3.71e-07/0.7742, allocations: 0 / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.7753, allocations: 342.8 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007199/0.7761, allocations: 0.7285 MB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of Templates: time 0.01423/0.7903, allocations: 5.125 MB / 1.106 GB, free: 12.53 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches