Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.082/2.082, 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.001023/0.001023, allocations: 188.2 kB / 487.4 MB, free: 5.02 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.412/1.412, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.0009829/0.000983, allocations: 101.6 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.099e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2507, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8471/1.098, allocations: 155.1 MB / 1.357 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/1.098, allocations: 85.92 kB / 1.358 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02132/1.119, allocations: 8.167 MB / 1.366 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/1.12, allocations: 0 / 1.366 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.686e-06/1.12, allocations: 3.906 kB / 1.366 GB, free: 33.38 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.0006805/1.12, allocations: 493.5 kB / 1.366 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/1.12, allocations: 11.56 kB / 1.366 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/1.121, allocations: 88.45 kB / 1.366 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.996e-05/1.121, allocations: 181.2 kB / 1.366 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/1.121, allocations: 44.28 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/1.121, allocations: 7.625 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002331/1.121, allocations: 141.8 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/1.121, allocations: 151.1 kB / 1.367 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.121, allocations: 0 / 1.367 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/1.121, allocations: 7.781 kB / 1.367 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.121, allocations: 3.844 kB / 1.367 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/1.123, allocations: 0.8927 MB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/1.123, allocations: 120.3 kB / 1.368 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/1.123, allocations: 63.09 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005095/1.123, allocations: 0.5192 MB / 1.368 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/1.123, allocations: 34.19 kB / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/1.123, allocations: 0 / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.001176/1.125, allocations: 263.2 kB / 1.368 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/1.125, allocations: 51.41 kB / 1.368 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/1.125, allocations: 122 kB / 1.369 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.125, allocations: 29.7 kB / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/1.125, allocations: 121.6 kB / 1.369 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/1.125, allocations: 44.53 kB / 1.369 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/1.125, allocations: 0 / 1.369 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.125, allocations: 321.8 kB / 1.369 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/1.125, allocations: 57.5 kB / 1.369 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.653e-05/1.125, allocations: 71.86 kB / 1.369 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/1.126, allocations: 174.9 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.126, allocations: 0 / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001126/1.127, allocations: 292.9 kB / 1.37 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.127, allocations: 7.891 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.127, allocations: 0 / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.127, allocations: 3.906 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/1.128, allocations: 47.02 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/1.128, allocations: 3.812 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/1.128, allocations: 22.47 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/1.128, allocations: 6.922 kB / 1.37 GB, free: 30.57 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.126e-05/1.128, allocations: 108.8 kB / 1.37 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/1.128, allocations: 7.656 kB / 1.37 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/1.129, allocations: 281.9 kB / 1.37 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/1.129, allocations: 0 / 1.37 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.129, allocations: 7.875 kB / 1.37 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.129, allocations: 3.875 kB / 1.37 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/1.131, allocations: 1.017 MB / 1.371 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.131, allocations: 0 / 1.371 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/1.131, allocations: 35.98 kB / 1.371 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.131, allocations: 6.922 kB / 1.371 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/1.131, allocations: 3.812 kB / 1.371 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.131, allocations: 0 / 1.371 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.131, allocations: 7.812 kB / 1.371 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.132, allocations: 382.8 kB / 1.372 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/1.132, allocations: 91.11 kB / 1.372 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/1.132, allocations: 3.875 kB / 1.372 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/1.133, allocations: 14.11 kB / 1.372 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/1.133, allocations: 13.98 kB / 1.372 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/1.133, allocations: 7.297 kB / 1.372 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.032e-05/1.133, allocations: 97.38 kB / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.133, allocations: 0 / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004585/1.133, allocations: 137.8 kB / 1.372 GB, free: 29.21 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.0004142/1.134, allocations: 233.7 kB / 1.372 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002597/1.134, allocations: 141.8 kB / 1.372 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.134, allocations: 0 / 1.372 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/1.134, allocations: 70.86 kB / 1.372 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/1.134, allocations: 22.52 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/1.135, allocations: 184.5 kB / 1.373 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/1.135, allocations: 0.7161 MB / 1.373 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001335/1.135, allocations: 20.33 kB / 1.373 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/1.135, allocations: 24.91 kB / 1.373 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.135, allocations: 4 kB / 1.373 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.005646/1.141, allocations: 3.306 MB / 1.377 GB, free: 27.96 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches