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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 114.8 kB / 17.08 MB, free: 5.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001868, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.98/2.98, allocations: 489.3 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 1.103 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9463/0.9483, allocations: 163.8 MB / 1.263 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003305/0.9516, allocations: 2.038 MB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.954, allocations: 1.668 MB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.9541, allocations: 2.094 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.998e-05/0.9542, allocations: 16 kB / 1.266 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.9543, allocations: 57.08 kB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.9554, allocations: 349.6 kB / 1.267 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.9556, allocations: 219.6 kB / 1.267 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.9558, allocations: 57.75 kB / 1.267 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.9559, allocations: 77.42 kB / 1.267 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.9561, allocations: 91.25 kB / 1.267 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.9561, allocations: 18.09 kB / 1.267 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000889/0.957, allocations: 410.8 kB / 1.267 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.9571, allocations: 42.64 kB / 1.267 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.9572, allocations: 89.17 kB / 1.268 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007026/0.9579, allocations: 440 kB / 1.268 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.9579, allocations: 0 / 1.268 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.634e-06/0.9579, allocations: 0 / 1.268 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.9579, allocations: 1.062 kB / 1.268 GB, free: 4.598 MB / 0.9981 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.0007732/0.9587, allocations: 0.5176 MB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.9587, allocations: 13.44 kB / 1.268 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006108/0.9594, allocations: 85.95 kB / 1.269 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.808e-05/0.9595, allocations: 186.4 kB / 1.269 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-05/0.9596, allocations: 48.95 kB / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.9596, allocations: 14.72 kB / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.96, allocations: 177.5 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.9601, allocations: 3.938 kB / 1.269 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.9601, allocations: 9.875 kB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.9601, allocations: 3.469 kB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.9606, allocations: 183.4 kB / 1.269 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.9619, allocations: 0.9147 MB / 1.27 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.9624, allocations: 174.9 kB / 1.27 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.9626, allocations: 78.34 kB / 1.27 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005454/0.9632, allocations: 0.5212 MB / 1.271 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.9632, allocations: 36.34 kB / 1.271 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.9632, allocations: 0 / 1.271 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0007198/0.9639, allocations: 237.7 kB / 1.271 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.964, allocations: 53.95 kB / 1.271 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.9641, allocations: 163.1 kB / 1.271 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.9641, allocations: 31.33 kB / 1.271 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.9642, allocations: 116.4 kB / 1.271 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.9642, allocations: 56.17 kB / 1.271 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.9643, allocations: 39.81 kB / 1.272 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.9644, allocations: 323.3 kB / 1.272 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.9646, allocations: 72.34 kB / 1.272 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.9648, allocations: 96.95 kB / 1.272 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.9652, allocations: 149.8 kB / 1.272 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9652, allocations: 4.906 kB / 1.272 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005027/0.9657, allocations: 217.4 kB / 1.272 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.9657, allocations: 5.719 kB / 1.272 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.9657, allocations: 0 / 1.272 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.9658, allocations: 2 kB / 1.272 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.966, allocations: 36.88 kB / 1.272 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.966, allocations: 5.344 kB / 1.272 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.9662, allocations: 27.62 kB / 1.272 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.9662, allocations: 8.969 kB / 1.272 GB, free: 1.082 MB / 0.9981 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 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/0.9663, allocations: 126.8 kB / 1.273 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.9664, allocations: 14.5 kB / 1.273 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005294/0.9669, allocations: 192.8 kB / 1.273 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.9669, allocations: 9.781 kB / 1.273 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9669, allocations: 0.7812 kB / 1.273 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9669, allocations: 1.219 kB / 1.273 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.9682, allocations: 0.979 MB / 1.274 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.9683, allocations: 0.7969 kB / 1.274 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.9685, allocations: 28.2 kB / 1.274 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.9685, allocations: 1.5 kB / 1.274 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.9685, allocations: 7.734 kB / 1.274 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.9685, allocations: 5.312 kB / 1.274 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9685, allocations: 0.8438 kB / 1.274 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.9691, allocations: 297.7 kB / 1.274 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.9692, allocations: 94.02 kB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.9692, allocations: 2.547 kB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.9694, allocations: 20.92 kB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.9695, allocations: 14.83 kB / 1.274 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.9695, allocations: 4.375 kB / 1.274 GB, free: 15.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001177/0.9696, allocations: 123.1 kB / 1.274 GB, free: 15.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.375e-06/0.9696, allocations: 0 / 1.274 GB, free: 15.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005381/0.9702, allocations: 130.2 kB / 1.274 GB, free: 15.49 MB / 1.014 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004778/0.9707, allocations: 230.1 kB / 1.275 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005497/0.9712, allocations: 180.5 kB / 1.275 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/0.9713, allocations: 0 / 1.275 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.9715, allocations: 87.17 kB / 1.275 GB, free: 15.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.9719, allocations: 44.5 kB / 1.275 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/0.9727, allocations: 340.9 kB / 1.275 GB, free: 15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.9731, allocations: 0.7159 MB / 1.276 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.9732, allocations: 27.09 kB / 1.276 GB, free: 14.29 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/0.9732, allocations: 0 / 1.276 GB, free: 14.29 MB / 1.014 GB Notification: Performance of Templates: time 0.007619/0.9808, allocations: 3.863 MB / 1.28 GB, free: 13.87 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.729503956157714]