Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,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") 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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.354/2.354, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001399/0.001399, allocations: 172.4 kB / 496.1 MB, free: 12.86 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.661/1.661, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.0009458/0.000946, allocations: 95.94 kB / 0.9318 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.571e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3448, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9713/1.316, allocations: 156.6 MB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.317, allocations: 88.31 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02377/1.34, allocations: 8.212 MB / 1.38 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.34, allocations: 0 / 1.38 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.777e-06/1.34, allocations: 4 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.0008307/1.341, allocations: 0.4916 MB / 1.38 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.341, allocations: 8.031 kB / 1.38 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004967/1.342, allocations: 91.77 kB / 1.38 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/1.342, allocations: 178.8 kB / 1.381 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.24e-05/1.342, allocations: 44.39 kB / 1.381 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/1.342, allocations: 22.67 kB / 1.381 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/1.342, allocations: 162.3 kB / 1.381 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.342, allocations: 0 / 1.381 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/1.342, allocations: 7.875 kB / 1.381 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.342, allocations: 3.953 kB / 1.381 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/1.343, allocations: 152 kB / 1.381 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/1.344, allocations: 0.9371 MB / 1.382 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/1.344, allocations: 139.7 kB / 1.382 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/1.344, allocations: 61.36 kB / 1.382 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006592/1.345, allocations: 0.5175 MB / 1.383 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/1.345, allocations: 37.88 kB / 1.383 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 3.186e-06/1.345, allocations: 8 kB / 1.383 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003296/1.345, allocations: 143.3 kB / 1.383 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/1.345, allocations: 51.41 kB / 1.383 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/1.346, allocations: 146.6 kB / 1.383 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/1.346, allocations: 29.45 kB / 1.383 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/1.346, allocations: 114.7 kB / 1.383 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/1.346, allocations: 50.91 kB / 1.383 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/1.346, allocations: 3.188 kB / 1.383 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.346, allocations: 325.8 kB / 1.383 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/1.346, allocations: 60.81 kB / 1.383 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/1.346, allocations: 80.84 kB / 1.384 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/1.346, allocations: 57.39 kB / 1.384 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.346, allocations: 3.938 kB / 1.384 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002836/1.347, allocations: 179.6 kB / 1.384 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.347, allocations: 11.98 kB / 1.384 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.347, allocations: 0 / 1.384 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/1.347, allocations: 4.031 kB / 1.384 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/1.347, allocations: 47.28 kB / 1.384 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/1.347, allocations: 7.922 kB / 1.384 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/1.347, allocations: 27.45 kB / 1.384 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/1.347, allocations: 4 kB / 1.384 GB, free: 2.266 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.722e-05/1.347, allocations: 112.8 kB / 1.384 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/1.347, allocations: 19.75 kB / 1.384 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/1.348, allocations: 171 kB / 1.384 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.348, allocations: 0 / 1.384 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.348, allocations: 0 / 1.384 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.348, allocations: 7.969 kB / 1.384 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/1.349, allocations: 0.9527 MB / 1.385 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.349, allocations: 0 / 1.385 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/1.349, allocations: 39.59 kB / 1.385 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/1.349, allocations: 8 kB / 1.385 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.349, allocations: 0 / 1.385 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.349, allocations: 4 kB / 1.385 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.349, allocations: 4.062 kB / 1.385 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/1.349, allocations: 285.5 kB / 1.385 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/1.349, allocations: 88.45 kB / 1.386 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/1.349, allocations: 4 kB / 1.386 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/1.35, allocations: 23.72 kB / 1.386 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/1.35, allocations: 15.94 kB / 1.386 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/1.35, allocations: 7.562 kB / 1.386 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.378e-05/1.35, allocations: 119.4 kB / 1.386 GB, free: 428 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.35, allocations: 0 / 1.386 GB, free: 428 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004768/1.35, allocations: 133.7 kB / 1.386 GB, free: 300 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.0004585/1.351, allocations: 241.8 kB / 1.386 GB, free: 56 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003031/1.351, allocations: 151.9 kB / 1.386 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.351, allocations: 7.938 kB / 1.386 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/1.351, allocations: 61.06 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.0002662/1.352, allocations: 40.62 kB / 1.386 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/1.352, allocations: 187.6 kB / 1.386 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/1.352, allocations: 0.7129 MB / 1.387 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001507/1.352, allocations: 29.81 kB / 1.387 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/1.352, allocations: 23.42 kB / 1.387 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/1.352, allocations: 0 / 1.387 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.007104/1.36, allocations: 3.851 MB / 1.391 GB, free: 11.11 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches