Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,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_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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.372/2.372, allocations: 390.5 MB / 398 MB, free: 10.96 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.001523/0.001523, allocations: 180.8 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.781/1.781, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.000993/0.000993, allocations: 94.77 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.679e-05, allocations: 6.812 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2913, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.905/1.196, allocations: 155.9 MB / 1.365 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/1.197, allocations: 86.81 kB / 1.365 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02264/1.219, allocations: 8.171 MB / 1.373 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.262e-06/1.219, allocations: 0 / 1.373 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.227e-05/1.219, allocations: 3.812 kB / 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.0008791/1.22, allocations: 495.2 kB / 1.373 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/1.22, allocations: 11.72 kB / 1.373 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004839/1.221, allocations: 93.25 kB / 1.373 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/1.221, allocations: 183.6 kB / 1.373 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.639e-05/1.221, allocations: 43.98 kB / 1.373 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/1.221, allocations: 7.656 kB / 1.373 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002528/1.221, allocations: 139.6 kB / 1.374 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/1.222, allocations: 149.3 kB / 1.374 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.222, allocations: 0 / 1.374 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/1.222, allocations: 0 / 1.374 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.222, allocations: 7.828 kB / 1.374 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/1.223, allocations: 0.8905 MB / 1.375 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/1.223, allocations: 122.5 kB / 1.375 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/1.223, allocations: 64.86 kB / 1.375 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005406/1.224, allocations: 0.5142 MB / 1.375 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.224, allocations: 38.19 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/1.224, allocations: 0 / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.001293/1.225, allocations: 253.3 kB / 1.376 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/1.225, allocations: 62.02 kB / 1.376 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/1.225, allocations: 119.1 kB / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/1.225, allocations: 25.7 kB / 1.376 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/1.225, allocations: 123.4 kB / 1.376 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/1.225, allocations: 46.53 kB / 1.376 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/1.225, allocations: 0 / 1.376 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.226, allocations: 327.5 kB / 1.376 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/1.226, allocations: 60.41 kB / 1.376 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.57e-05/1.226, allocations: 75.86 kB / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/1.227, allocations: 168.3 kB / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.227, allocations: 3.875 kB / 1.377 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001197/1.228, allocations: 292.1 kB / 1.377 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.228, allocations: 7.75 kB / 1.377 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.228, allocations: 0 / 1.377 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.228, allocations: 0 / 1.377 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/1.228, allocations: 40.67 kB / 1.377 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.228, allocations: 0 / 1.377 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/1.229, allocations: 22.38 kB / 1.377 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/1.229, allocations: 13.91 kB / 1.377 GB, free: 29.96 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.956e-05/1.229, allocations: 104.9 kB / 1.377 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/1.229, allocations: 15.58 kB / 1.377 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/1.23, allocations: 273.3 kB / 1.377 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.23, allocations: 7.844 kB / 1.377 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.23, allocations: 0 / 1.377 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.23, allocations: 2.672 kB / 1.377 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/1.232, allocations: 1.019 MB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.232, allocations: 3.844 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/1.232, allocations: 32.52 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/1.232, allocations: 2.766 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/1.232, allocations: 3.875 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.232, allocations: 4 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.232, allocations: 0 / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/1.233, allocations: 387.3 kB / 1.379 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/1.233, allocations: 91.41 kB / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/1.233, allocations: 3.844 kB / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/1.234, allocations: 17.94 kB / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/1.234, allocations: 9.047 kB / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/1.234, allocations: 7.031 kB / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.653e-05/1.234, allocations: 97.52 kB / 1.379 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.234, allocations: 0 / 1.379 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005158/1.234, allocations: 141.3 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.0005185/1.235, allocations: 232.2 kB / 1.379 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002532/1.235, allocations: 140.3 kB / 1.379 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.235, allocations: 8 kB / 1.379 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/1.235, allocations: 64.14 kB / 1.379 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/1.236, allocations: 27.78 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.0004812/1.236, allocations: 189.6 kB / 1.38 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/1.236, allocations: 0.715 MB / 1.38 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001531/1.236, allocations: 32.45 kB / 1.38 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/1.237, allocations: 18.06 kB / 1.38 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.237, allocations: 0 / 1.38 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of Templates: time 0.006183/1.243, allocations: 3.314 MB / 1.384 GB, free: 26.77 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches