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.431/2.431, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001228/0.001228, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 221.3 MB / 0.7915 GB, free: 5.484 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.001047/0.001047, allocations: 91.75 kB / 0.9317 GB, free: 5.805 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.834e-05/3.866e-05, allocations: 5.875 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3134, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9877/1.301, allocations: 156.6 MB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/1.302, allocations: 80.64 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02398/1.325, allocations: 8.209 MB / 1.38 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.344e-06/1.326, allocations: 0 / 1.38 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.21e-05/1.326, allocations: 7.062 kB / 1.38 GB, free: 6.316 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.0008292/1.326, allocations: 497.2 kB / 1.38 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.326, allocations: 11.97 kB / 1.38 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000499/1.327, allocations: 91.77 kB / 1.38 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/1.327, allocations: 178.8 kB / 1.381 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.35e-05/1.327, allocations: 51.12 kB / 1.381 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/1.327, allocations: 15.12 kB / 1.381 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/1.328, allocations: 162.5 kB / 1.381 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.328, allocations: 0 / 1.381 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/1.328, allocations: 7 kB / 1.381 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/1.328, allocations: 11.95 kB / 1.381 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/1.328, allocations: 150.4 kB / 1.381 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/1.329, allocations: 0.9415 MB / 1.382 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/1.33, allocations: 135.3 kB / 1.382 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/1.33, allocations: 66.86 kB / 1.382 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006731/1.33, allocations: 0.5173 MB / 1.383 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/1.33, allocations: 38.81 kB / 1.383 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/1.33, allocations: 0 / 1.383 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003332/1.331, allocations: 150.4 kB / 1.383 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/1.331, allocations: 55.41 kB / 1.383 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.331, allocations: 141.5 kB / 1.383 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/1.331, allocations: 29.02 kB / 1.383 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/1.331, allocations: 122.1 kB / 1.383 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/1.331, allocations: 50.28 kB / 1.383 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/1.331, allocations: 7.562 kB / 1.383 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.331, allocations: 322.1 kB / 1.383 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/1.331, allocations: 56.81 kB / 1.383 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/1.331, allocations: 88.59 kB / 1.384 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/1.332, allocations: 57.44 kB / 1.384 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.332, allocations: 0 / 1.384 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002999/1.332, allocations: 187.6 kB / 1.384 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.332, allocations: 8.031 kB / 1.384 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.332, allocations: 0 / 1.384 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.332, allocations: 0 / 1.384 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/1.332, allocations: 43.91 kB / 1.384 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.332, allocations: 0 / 1.384 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/1.332, allocations: 27.08 kB / 1.384 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/1.332, allocations: 4 kB / 1.384 GB, free: 2.262 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 8.508e-05/1.333, allocations: 120.2 kB / 1.384 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/1.333, allocations: 11.81 kB / 1.384 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/1.333, allocations: 175.1 kB / 1.384 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.333, allocations: 0 / 1.384 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.333, allocations: 0 / 1.384 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.333, allocations: 3.984 kB / 1.384 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/1.334, allocations: 0.9547 MB / 1.385 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.334, allocations: 7.938 kB / 1.385 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/1.334, allocations: 35.91 kB / 1.385 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.334, allocations: 0 / 1.385 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/1.334, allocations: 7.25 kB / 1.385 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.334, allocations: 4 kB / 1.385 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.334, allocations: 0 / 1.385 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/1.335, allocations: 288.1 kB / 1.385 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/1.335, allocations: 89.02 kB / 1.386 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/1.335, allocations: 7.734 kB / 1.386 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/1.335, allocations: 15.98 kB / 1.386 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/1.335, allocations: 23.31 kB / 1.386 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/1.335, allocations: 7.984 kB / 1.386 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.463e-05/1.335, allocations: 112.1 kB / 1.386 GB, free: 424 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.335, allocations: 0 / 1.386 GB, free: 424 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004745/1.336, allocations: 147.2 kB / 1.386 GB, free: 288 kB / 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.0005328/1.336, allocations: 234.8 kB / 1.386 GB, free: 48 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003066/1.337, allocations: 148.8 kB / 1.386 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.337, allocations: 3.938 kB / 1.386 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/1.337, allocations: 67.44 kB / 1.386 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/1.337, allocations: 41.97 kB / 1.386 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/1.338, allocations: 195.2 kB / 1.386 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/1.338, allocations: 0.7129 MB / 1.387 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000169/1.338, allocations: 34.34 kB / 1.387 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/1.338, allocations: 23.42 kB / 1.387 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/1.338, allocations: 0 / 1.387 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.007419/1.346, allocations: 3.859 MB / 1.391 GB, free: 11.11 MB / 0.8542 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