Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,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") 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_9_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.007641/0.007641, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001695/0.001695, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.196/2.196, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 0.9508 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.7668, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00282/0.7697, allocations: 2.03 MB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.7719, allocations: 1.663 MB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.772, allocations: 1.125 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.257e-05/0.7721, allocations: 20 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.7722, allocations: 48.7 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009915/0.7732, allocations: 358.2 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.7734, allocations: 223.6 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.7736, allocations: 52.62 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.7737, allocations: 81.53 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.7739, allocations: 92.64 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.7739, allocations: 18.44 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008019/0.7747, allocations: 405.6 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.7748, allocations: 46.55 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.237e-05/0.7749, allocations: 86.19 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.7755, allocations: 422.3 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7755, allocations: 0 / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7755, allocations: 8.562 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7755, allocations: 0 / 1.093 GB, free: 2.148 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.000703/0.7762, allocations: 0.5111 MB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.7763, allocations: 13.17 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005575/0.7768, allocations: 89.83 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.775e-05/0.7769, allocations: 178.8 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.365e-05/0.777, allocations: 44.8 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.7771, allocations: 14.98 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.7775, allocations: 184 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.7775, allocations: 5 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.7775, allocations: 10.38 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.7775, allocations: 3.5 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.778, allocations: 182.7 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.7793, allocations: 0.9175 MB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.7799, allocations: 175.6 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.7801, allocations: 82.8 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006336/0.7807, allocations: 0.5156 MB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.7808, allocations: 33.14 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.7808, allocations: 4 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0007593/0.7815, allocations: 242.3 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.7816, allocations: 54.55 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.7818, allocations: 153.1 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.7818, allocations: 31.3 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.7819, allocations: 118.8 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.7819, allocations: 53.97 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.59e-05/0.782, allocations: 38.72 kB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.7821, allocations: 321.4 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.7824, allocations: 76.58 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.7826, allocations: 91.06 kB / 1.097 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.783, allocations: 153 kB / 1.097 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.783, allocations: 3.938 kB / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005499/0.7836, allocations: 215 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.7836, allocations: 6.109 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.7836, allocations: 9.031 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7836, allocations: 1.062 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.7839, allocations: 36.3 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.7839, allocations: 1.031 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.7841, allocations: 25.03 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.7841, allocations: 5.562 kB / 1.098 GB, free: 14.64 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.7843, allocations: 132.2 kB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.7843, allocations: 15.16 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005528/0.7849, allocations: 201.3 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7849, allocations: 2.516 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7849, allocations: 0 / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.7849, allocations: 1.375 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.7864, allocations: 0.9834 MB / 1.099 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.7864, allocations: 1.094 kB / 1.099 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.7866, allocations: 31.77 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.7866, allocations: 2.312 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.7866, allocations: 2.953 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.7866, allocations: 1.594 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7866, allocations: 0.6875 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.7871, allocations: 294.8 kB / 1.099 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.7872, allocations: 85.81 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.7872, allocations: 6.188 kB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.7875, allocations: 17 kB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.7875, allocations: 21.33 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.7875, allocations: 6.047 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.667e-05/0.7876, allocations: 123.1 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7876, allocations: 0.9062 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005312/0.7882, allocations: 130.8 kB / 1.1 GB, free: 13.05 MB / 0.8731 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.0004313/0.7886, allocations: 228.5 kB / 1.1 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004978/0.7891, allocations: 176 kB / 1.1 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7891, allocations: 1.156 kB / 1.1 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.7894, allocations: 86.03 kB / 1.1 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.7898, allocations: 43.62 kB / 1.1 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.7904, allocations: 328.8 kB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.7907, allocations: 0.7071 MB / 1.101 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000134/0.7908, allocations: 28.45 kB / 1.101 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.7909, allocations: 20.34 kB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/0.7909, allocations: 0 / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.008997/0.7999, allocations: 4.285 MB / 1.105 GB, free: 11.53 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches