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.407/2.407, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001304/0.001305, allocations: 186.1 kB / 0.4902 GB, free: 2.246 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.593/1.593, allocations: 223.2 MB / 0.7992 GB, free: 14.66 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.0009546/0.0009546, allocations: 104 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 14.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3523, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.5539, allocations: 156.7 MB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.5542, allocations: 83.95 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02574/0.58, allocations: 8.24 MB / 1.39 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.284e-06/0.58, allocations: 0 / 1.39 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.58, allocations: 0 / 1.39 GB, free: 4.477 MB / 0.8855 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.0009966/0.581, allocations: 0.4918 MB / 1.391 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5811, allocations: 12.52 kB / 1.391 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005338/0.5816, allocations: 91.69 kB / 1.391 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.5818, allocations: 178.9 kB / 1.391 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.5819, allocations: 45.7 kB / 1.391 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.582, allocations: 16 kB / 1.391 GB, free: 3.551 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.5825, allocations: 193.2 kB / 1.391 GB, free: 3.355 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5825, allocations: 0 / 1.391 GB, free: 3.355 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.5825, allocations: 4 kB / 1.391 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.5825, allocations: 7.953 kB / 1.391 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.583, allocations: 191.9 kB / 1.392 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.5846, allocations: 0.9304 MB / 1.392 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.5852, allocations: 186.5 kB / 1.393 GB, free: 1.906 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007465/0.5859, allocations: 0.522 MB / 1.393 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.586, allocations: 38.52 kB / 1.393 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.586, allocations: 0 / 1.393 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0007462/0.5867, allocations: 252.6 kB / 1.393 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.5868, allocations: 55.41 kB / 1.393 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.5869, allocations: 151.4 kB / 1.394 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.587, allocations: 29.7 kB / 1.394 GB, free: 0.7227 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.5871, allocations: 115.8 kB / 1.394 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.5871, allocations: 47.34 kB / 1.394 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.5871, allocations: 8 kB / 1.394 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5873, allocations: 318.8 kB / 1.394 GB, free: 236 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.5875, allocations: 75.95 kB / 1.394 GB, free: 160 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.5877, allocations: 98.53 kB / 1.394 GB, free: 56 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.588, allocations: 77.02 kB / 1.394 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.588, allocations: 0 / 1.394 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005691/0.5885, allocations: 230 kB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.5886, allocations: 4 kB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5886, allocations: 3.938 kB / 1.395 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.5886, allocations: 4 kB / 1.395 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.5889, allocations: 40 kB / 1.395 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5889, allocations: 3.938 kB / 1.395 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.5891, allocations: 31.77 kB / 1.395 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.5892, allocations: 4 kB / 1.395 GB, free: 15.66 MB / 0.9011 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 () * Number of clocked 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 0.00013/0.5893, allocations: 127.2 kB / 1.395 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.5894, allocations: 19.77 kB / 1.395 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000537/0.5899, allocations: 206.6 kB / 1.395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5899, allocations: 4 kB / 1.395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5899, allocations: 0 / 1.395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.5899, allocations: 3.984 kB / 1.395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.5915, allocations: 0.9895 MB / 1.396 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5915, allocations: 0 / 1.396 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.5918, allocations: 27.98 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5918, allocations: 0 / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.5918, allocations: 7.984 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5918, allocations: 7.938 kB / 1.396 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5918, allocations: 0 / 1.396 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.5923, allocations: 320.6 kB / 1.396 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.5924, allocations: 100.8 kB / 1.396 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.5925, allocations: 8 kB / 1.396 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.5927, allocations: 11.98 kB / 1.396 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.5927, allocations: 19.94 kB / 1.396 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.5928, allocations: 7.984 kB / 1.396 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.806e-05/0.5929, allocations: 116.9 kB / 1.397 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5929, allocations: 7.875 kB / 1.397 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005427/0.5934, allocations: 135.8 kB / 1.397 GB, free: 13.34 MB / 0.9011 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) * Number of clocked states: 0 () * 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.0005626/0.594, allocations: 227.8 kB / 1.397 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005095/0.5945, allocations: 183.8 kB / 1.397 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.5945, allocations: 4 kB / 1.397 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.5947, allocations: 84.09 kB / 1.397 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.595, allocations: 43.91 kB / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/0.5958, allocations: 393.4 kB / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.5961, allocations: 0.7167 MB / 1.398 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.5963, allocations: 29.8 kB / 1.398 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.5964, allocations: 23.42 kB / 1.398 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of SimCode: time 2.41e-07/0.5964, allocations: 4 kB / 1.398 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of Templates: time 0.008267/0.6047, allocations: 3.839 MB / 1.402 GB, free: 7.809 MB / 0.9011 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