Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006494/0.006494, allocations: 96.94 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 191.7 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 62.53 kB / 0.9509 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2495, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002901/0.2524, allocations: 2.026 MB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.2547, allocations: 1.667 MB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.2548, allocations: 0 / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.367e-05/0.2549, allocations: 19.86 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.255, allocations: 47.55 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009262/0.256, allocations: 358.8 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.2562, allocations: 219.1 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2563, allocations: 57.44 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2564, allocations: 83.78 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.2566, allocations: 87.67 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.2566, allocations: 16 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007322/0.2574, allocations: 411.5 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.2574, allocations: 43.89 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.797e-05/0.2575, allocations: 87.64 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.2581, allocations: 434.6 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.56e-05/0.2581, allocations: 8 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2581, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2581, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 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.0007968/0.2589, allocations: 0.5217 MB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.259, allocations: 8.031 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005885/0.2596, allocations: 92.73 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.2597, allocations: 180.2 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.079e-05/0.2598, allocations: 50.25 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.2598, allocations: 20.38 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.2602, allocations: 174.1 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2603, allocations: 3.938 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.2603, allocations: 4 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2603, allocations: 4 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.2608, allocations: 183.8 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.2621, allocations: 0.9112 MB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.2627, allocations: 170.5 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.2629, allocations: 80.83 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.2635, allocations: 0.5181 MB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2636, allocations: 42.48 kB / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.2636, allocations: 0 / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0007182/0.2643, allocations: 244.1 kB / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.2643, allocations: 51.41 kB / 1.096 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2645, allocations: 161.1 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2645, allocations: 25.7 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.2646, allocations: 123.9 kB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.2647, allocations: 47.53 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.2647, allocations: 41.7 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2648, allocations: 318.8 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.2651, allocations: 75.95 kB / 1.097 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.2653, allocations: 97.61 kB / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.2657, allocations: 151.2 kB / 1.097 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2657, allocations: 3.938 kB / 1.097 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005158/0.2663, allocations: 215.5 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2663, allocations: 8.031 kB / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2663, allocations: 0 / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2663, allocations: 0 / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.2666, allocations: 39.97 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2666, allocations: 7.984 kB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.2668, allocations: 23.83 kB / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.2668, allocations: 8 kB / 1.098 GB, free: 6.973 MB / 0.8575 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 0.0001063/0.2669, allocations: 137.7 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.267, allocations: 7.953 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005335/0.2675, allocations: 198.4 kB / 1.098 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2675, allocations: 11.92 kB / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2676, allocations: 0 / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2676, allocations: 0 / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.269, allocations: 0.9817 MB / 1.099 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.269, allocations: 4.062 kB / 1.099 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.2693, allocations: 31.97 kB / 1.099 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2693, allocations: 0 / 1.099 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.2693, allocations: 4 kB / 1.099 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2693, allocations: 0 / 1.099 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2693, allocations: 3.938 kB / 1.099 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.2698, allocations: 289 kB / 1.099 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.2699, allocations: 89.05 kB / 1.099 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.2699, allocations: 8 kB / 1.099 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.2702, allocations: 11.98 kB / 1.099 GB, free: 5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.2702, allocations: 15.92 kB / 1.1 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.2702, allocations: 8 kB / 1.1 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.01e-05/0.2703, allocations: 121.3 kB / 1.1 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.024e-06/0.2704, allocations: 0 / 1.1 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004474/0.2708, allocations: 135.4 kB / 1.1 GB, free: 4.727 MB / 0.8575 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.0004159/0.2712, allocations: 234.7 kB / 1.1 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000508/0.2717, allocations: 187 kB / 1.1 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2718, allocations: 0 / 1.1 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.272, allocations: 84.09 kB / 1.1 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.2724, allocations: 39.97 kB / 1.1 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007246/0.2731, allocations: 328.5 kB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.2734, allocations: 0.7125 MB / 1.101 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.2736, allocations: 26.38 kB / 1.101 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.2737, allocations: 31.42 kB / 1.101 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.2737, allocations: 0 / 1.101 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of Templates: time 0.00769/0.2814, allocations: 4.305 MB / 1.106 GB, free: 14.8 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches