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.101/2.101, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001157/0.001157, allocations: 180.8 kB / 487.4 MB, free: 5.027 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.424/1.424, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008841/0.0008844, allocations: 87.92 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.34e-05/1.338e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2436, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7908/1.034, allocations: 155.2 MB / 1.357 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/1.035, allocations: 92.81 kB / 1.358 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02152/1.056, allocations: 8.162 MB / 1.366 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.382e-06/1.056, allocations: 0 / 1.366 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.949e-06/1.056, allocations: 7.844 kB / 1.366 GB, free: 33.65 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.0007908/1.057, allocations: 496.9 kB / 1.366 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/1.057, allocations: 7.688 kB / 1.366 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004976/1.058, allocations: 87.67 kB / 1.366 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/1.058, allocations: 181.9 kB / 1.366 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/1.058, allocations: 44 kB / 1.366 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/1.058, allocations: 7.531 kB / 1.366 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002572/1.058, allocations: 142.6 kB / 1.366 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/1.058, allocations: 150.1 kB / 1.367 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.058, allocations: 0 / 1.367 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/1.058, allocations: 3.938 kB / 1.367 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.058, allocations: 3.656 kB / 1.367 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/1.06, allocations: 0.8883 MB / 1.367 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/1.06, allocations: 123.9 kB / 1.368 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/1.06, allocations: 59.73 kB / 1.368 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005739/1.061, allocations: 0.523 MB / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/1.061, allocations: 33.19 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 2.384e-06/1.061, allocations: 0 / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.001303/1.062, allocations: 262.5 kB / 1.368 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/1.062, allocations: 51.41 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/1.062, allocations: 126.3 kB / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/1.062, allocations: 25.7 kB / 1.369 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/1.062, allocations: 120.8 kB / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/1.062, allocations: 46.98 kB / 1.369 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/1.062, allocations: 0 / 1.369 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.062, allocations: 321 kB / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/1.063, allocations: 57.97 kB / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/1.063, allocations: 71.39 kB / 1.369 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/1.064, allocations: 176 kB / 1.369 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.064, allocations: 0 / 1.369 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001182/1.065, allocations: 289.2 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.065, allocations: 7.484 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.065, allocations: 3.312 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.065, allocations: 4.031 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/1.065, allocations: 47.89 kB / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.065, allocations: 0 / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/1.065, allocations: 26.45 kB / 1.37 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/1.065, allocations: 7.781 kB / 1.37 GB, free: 30.86 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 9.544e-05/1.066, allocations: 101 kB / 1.37 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/1.066, allocations: 18.83 kB / 1.37 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/1.067, allocations: 272.5 kB / 1.37 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.067, allocations: 7.938 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/1.067, allocations: 2.953 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.067, allocations: 0 / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/1.069, allocations: 1.021 MB / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.069, allocations: 3.984 kB / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/1.069, allocations: 36.8 kB / 1.371 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.069, allocations: 3.969 kB / 1.371 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/1.069, allocations: 2.766 kB / 1.371 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.069, allocations: 3.984 kB / 1.371 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.069, allocations: 7.719 kB / 1.371 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.07, allocations: 387.3 kB / 1.372 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/1.07, allocations: 91.47 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/1.07, allocations: 2.812 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/1.071, allocations: 13.42 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/1.071, allocations: 10.55 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/1.071, allocations: 10.34 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.762e-05/1.071, allocations: 96.89 kB / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.11e-07/1.071, allocations: 0 / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005029/1.071, allocations: 134.3 kB / 1.372 GB, free: 29.48 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.00054/1.072, allocations: 236 kB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002606/1.072, allocations: 140.3 kB / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.072, allocations: 0 / 1.372 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/1.072, allocations: 69.14 kB / 1.372 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/1.072, allocations: 21.77 kB / 1.372 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/1.073, allocations: 177.3 kB / 1.373 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/1.073, allocations: 0.7165 MB / 1.373 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001466/1.073, allocations: 20.33 kB / 1.373 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/1.073, allocations: 22.12 kB / 1.373 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of SimCode: time 3.5e-07/1.073, allocations: 0 / 1.373 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.006217/1.08, allocations: 3.307 MB / 1.376 GB, free: 28.23 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