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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.473/2.473, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 179.9 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.763/1.763, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001025, allocations: 91.58 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.33e-05/1.332e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2805, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8931/1.174, allocations: 155.9 MB / 1.365 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/1.174, allocations: 87.72 kB / 1.365 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02127/1.195, allocations: 8.169 MB / 1.373 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.442e-06/1.195, allocations: 4 kB / 1.373 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.377e-06/1.195, allocations: 0 / 1.373 GB, free: 32.77 MB / 0.8386 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.0007728/1.196, allocations: 495.7 kB / 1.373 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.196, allocations: 7.719 kB / 1.373 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004722/1.197, allocations: 92.88 kB / 1.373 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.605e-05/1.197, allocations: 178.6 kB / 1.373 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/1.197, allocations: 40.05 kB / 1.373 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/1.197, allocations: 11.84 kB / 1.373 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002357/1.197, allocations: 146.6 kB / 1.374 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/1.197, allocations: 149.4 kB / 1.374 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.197, allocations: 0 / 1.374 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/1.197, allocations: 0 / 1.374 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/1.197, allocations: 7.766 kB / 1.374 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/1.198, allocations: 0.8822 MB / 1.375 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/1.199, allocations: 126.6 kB / 1.375 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/1.199, allocations: 57.3 kB / 1.375 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000551/1.199, allocations: 0.5202 MB / 1.375 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/1.199, allocations: 37.78 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/1.199, allocations: 0 / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.00121/1.201, allocations: 258.2 kB / 1.376 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.489e-05/1.201, allocations: 55.41 kB / 1.376 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/1.201, allocations: 125.3 kB / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.201, allocations: 29.64 kB / 1.376 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/1.201, allocations: 125.5 kB / 1.376 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/1.201, allocations: 38.39 kB / 1.376 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/1.201, allocations: 0 / 1.376 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/1.201, allocations: 326.6 kB / 1.376 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/1.201, allocations: 59.44 kB / 1.376 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.632e-05/1.201, allocations: 77.72 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/1.202, allocations: 172.1 kB / 1.377 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.202, allocations: 0 / 1.377 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001161/1.203, allocations: 289.2 kB / 1.377 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.203, allocations: 3.844 kB / 1.377 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.203, allocations: 4.031 kB / 1.377 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.203, allocations: 6.516 kB / 1.377 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/1.204, allocations: 43.86 kB / 1.377 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/1.204, allocations: 0 / 1.377 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/1.204, allocations: 20.17 kB / 1.377 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/1.204, allocations: 6.625 kB / 1.377 GB, free: 29.97 MB / 0.8386 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 ($PRE.com.isOn,com.isOn) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/1.204, allocations: 112.8 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/1.204, allocations: 11.67 kB / 1.377 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/1.205, allocations: 276.8 kB / 1.377 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.205, allocations: 0 / 1.377 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.205, allocations: 6.656 kB / 1.377 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/1.205, allocations: 0 / 1.377 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/1.207, allocations: 1.014 MB / 1.378 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.207, allocations: 2.578 kB / 1.378 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/1.207, allocations: 39.52 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.207, allocations: 3.875 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/1.207, allocations: 2.531 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.207, allocations: 3.812 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.207, allocations: 0 / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/1.208, allocations: 386.3 kB / 1.379 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/1.208, allocations: 88.78 kB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/1.208, allocations: 2.766 kB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/1.209, allocations: 19.3 kB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/1.209, allocations: 13.53 kB / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/1.209, allocations: 7.781 kB / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.696e-05/1.209, allocations: 95.31 kB / 1.379 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.209, allocations: 0 / 1.379 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004518/1.209, allocations: 134.7 kB / 1.379 GB, free: 28.61 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004498/1.21, allocations: 238.2 kB / 1.379 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002384/1.21, allocations: 141.7 kB / 1.379 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.21, allocations: 3.938 kB / 1.379 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/1.21, allocations: 72.72 kB / 1.379 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/1.21, allocations: 28.44 kB / 1.379 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/1.211, allocations: 174.4 kB / 1.38 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/1.211, allocations: 0.7193 MB / 1.38 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001493/1.211, allocations: 22.3 kB / 1.38 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/1.211, allocations: 15.12 kB / 1.38 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.211, allocations: 4 kB / 1.38 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of Templates: time 0.005435/1.217, allocations: 3.314 MB / 1.384 GB, free: 26.78 MB / 0.8386 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","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches