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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001078/0.001078, allocations: 180.9 kB / 492.3 MB, free: 0.5938 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.608/1.608, allocations: 221.3 MB / 0.7871 GB, free: 12.84 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.001147/0.001147, allocations: 83.91 kB / 0.9267 GB, free: 13.9 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.233e-05/4.237e-05, allocations: 7.938 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4109, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.57, allocations: 155.8 MB / 1.365 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/1.571, allocations: 87.47 kB / 1.365 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02193/1.593, allocations: 8.207 MB / 1.373 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/1.593, allocations: 4 kB / 1.373 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.489e-05/1.593, allocations: 0 / 1.373 GB, free: 34.23 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.00108/1.594, allocations: 494.5 kB / 1.373 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.594, allocations: 7.656 kB / 1.373 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005375/1.594, allocations: 96.27 kB / 1.373 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/1.595, allocations: 174.7 kB / 1.373 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/1.595, allocations: 52.61 kB / 1.373 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/1.595, allocations: 23.34 kB / 1.373 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/1.595, allocations: 163.6 kB / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.595, allocations: 0 / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/1.595, allocations: 3.375 kB / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/1.595, allocations: 7.812 kB / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/1.595, allocations: 158 kB / 1.374 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/1.597, allocations: 0.9379 MB / 1.375 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/1.597, allocations: 125.1 kB / 1.375 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.691e-05/1.597, allocations: 68.2 kB / 1.375 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/1.598, allocations: 0.5151 MB / 1.375 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/1.598, allocations: 45.64 kB / 1.375 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/1.598, allocations: 0 / 1.375 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003462/1.598, allocations: 144.3 kB / 1.376 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/1.598, allocations: 55.28 kB / 1.376 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/1.598, allocations: 147.8 kB / 1.376 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/1.598, allocations: 28.56 kB / 1.376 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/1.598, allocations: 116 kB / 1.376 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/1.599, allocations: 55.55 kB / 1.376 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/1.599, allocations: 3.125 kB / 1.376 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/1.599, allocations: 324.3 kB / 1.376 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/1.599, allocations: 59.03 kB / 1.376 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/1.599, allocations: 78.2 kB / 1.376 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/1.599, allocations: 64.17 kB / 1.376 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.599, allocations: 0 / 1.376 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002875/1.599, allocations: 180.4 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.599, allocations: 4.812 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.599, allocations: 3.875 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.599, allocations: 0 / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/1.6, allocations: 45.7 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.6, allocations: 0 / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/1.6, allocations: 39.23 kB / 1.377 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/1.6, allocations: 6.922 kB / 1.377 GB, free: 31.41 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 7.97e-05/1.6, allocations: 113 kB / 1.377 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/1.6, allocations: 15.52 kB / 1.377 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/1.6, allocations: 172 kB / 1.377 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.6, allocations: 3.844 kB / 1.377 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.6, allocations: 0 / 1.377 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.6, allocations: 1.922 kB / 1.377 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/1.601, allocations: 0.952 MB / 1.378 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.601, allocations: 0 / 1.378 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/1.602, allocations: 39.8 kB / 1.378 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.602, allocations: 7.922 kB / 1.378 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/1.602, allocations: 2.625 kB / 1.378 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/1.602, allocations: 3.906 kB / 1.378 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.602, allocations: 3.938 kB / 1.378 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/1.602, allocations: 289.6 kB / 1.378 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/1.602, allocations: 87.05 kB / 1.378 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/1.602, allocations: 8.844 kB / 1.378 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/1.602, allocations: 19.36 kB / 1.378 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/1.602, allocations: 20.83 kB / 1.378 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/1.602, allocations: 8.969 kB / 1.378 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.588e-05/1.602, allocations: 115.3 kB / 1.379 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.602, allocations: 0 / 1.379 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005587/1.603, allocations: 138.9 kB / 1.379 GB, free: 30.02 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.0004838/1.603, allocations: 238.4 kB / 1.379 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002908/1.604, allocations: 147.3 kB / 1.379 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.604, allocations: 0 / 1.379 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/1.604, allocations: 68.83 kB / 1.379 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/1.604, allocations: 39.52 kB / 1.379 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/1.605, allocations: 190.4 kB / 1.379 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/1.605, allocations: 0.7142 MB / 1.38 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001516/1.605, allocations: 28.05 kB / 1.38 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/1.605, allocations: 24.62 kB / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of SimCode: time 7.51e-07/1.605, allocations: 0 / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.006789/1.612, allocations: 3.854 MB / 1.384 GB, free: 27.84 MB / 0.8386 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","../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches