Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_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_10_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.001203/0.001203, allocations: 113.7 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.001183/0.001183, allocations: 185.5 kB / 17.35 MB, free: 5.734 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.46/2.46, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.693/0.6944, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003075/0.6975, allocations: 2.028 MB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.6999, allocations: 1.667 MB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.7, allocations: 0 / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.271e-05/0.7001, allocations: 19.78 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.7002, allocations: 51.55 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.7013, allocations: 362.8 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.7016, allocations: 219 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.7017, allocations: 49.47 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.7018, allocations: 79.83 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.702, allocations: 91.67 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.702, allocations: 16 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007894/0.7028, allocations: 411.5 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.7029, allocations: 43.89 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.27e-05/0.703, allocations: 83.66 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.7036, allocations: 431.2 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7037, allocations: 0 / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7037, allocations: 0 / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.7037, allocations: 4 kB / 1.173 GB, free: 14.29 MB / 0.9044 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.0008117/0.7045, allocations: 0.5217 MB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.7045, allocations: 8.922 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006088/0.7052, allocations: 92.73 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.7053, allocations: 184.1 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.993e-05/0.7054, allocations: 54.19 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.7054, allocations: 12.38 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.7058, allocations: 187.2 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.7059, allocations: 3.938 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.7059, allocations: 11.98 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.7059, allocations: 4 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.7064, allocations: 179.9 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.7077, allocations: 0.9151 MB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.7083, allocations: 170.5 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.7085, allocations: 84.81 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/0.7091, allocations: 0.5181 MB / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.7092, allocations: 38.56 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.7092, allocations: 0 / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.000726/0.7099, allocations: 234.6 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.7099, allocations: 55.39 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.7101, allocations: 161.1 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.7101, allocations: 25.7 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.7102, allocations: 127.7 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.7102, allocations: 51.56 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.7103, allocations: 41.66 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.7104, allocations: 326.8 kB / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.7106, allocations: 71.95 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.7109, allocations: 93.67 kB / 1.177 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.7113, allocations: 152.2 kB / 1.177 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7113, allocations: 0 / 1.177 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005208/0.7118, allocations: 217.3 kB / 1.177 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7118, allocations: 11.94 kB / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7119, allocations: 0 / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.7119, allocations: 32 / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.7121, allocations: 43.97 kB / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7122, allocations: 0 / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.7124, allocations: 23.88 kB / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.7124, allocations: 8 kB / 1.177 GB, free: 9.289 MB / 0.9044 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.0001022/0.7125, allocations: 125.7 kB / 1.177 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.7126, allocations: 15.91 kB / 1.177 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005288/0.7131, allocations: 201.7 kB / 1.177 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7131, allocations: 0 / 1.177 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7131, allocations: 3.938 kB / 1.177 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.7132, allocations: 85.06 kB / 1.178 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.7132, allocations: 11.98 kB / 1.178 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.7134, allocations: 11.98 kB / 1.178 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.7135, allocations: 23.86 kB / 1.178 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006049/0.7141, allocations: 256.9 kB / 1.178 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005131/0.7146, allocations: 352.3 kB / 1.178 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002046/0.7149, allocations: 79.95 kB / 1.178 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.881e-05/0.7149, allocations: 121.8 kB / 1.178 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of Backend: time 4.61e-07/0.715, allocations: 0 / 1.178 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.716, allocations: 348.6 kB / 1.179 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007046/0.7167, allocations: 0.7298 MB / 1.179 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of Templates: time 0.009086/0.7258, allocations: 5.108 MB / 1.184 GB, free: 1.793 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches