Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007175/0.007175, allocations: 96.89 kB / 15.73 MB, free: 5.547 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.001596/0.001596, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.58/2.58, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 71.83 kB / 1.065 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.9273, allocations: 159.1 MB / 1.221 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003081/0.9304, allocations: 2.036 MB / 1.223 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.9329, allocations: 1.666 MB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.933, allocations: 4 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.909e-05/0.933, allocations: 23.78 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.9332, allocations: 47.56 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.9342, allocations: 358.8 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.9344, allocations: 215.2 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.9346, allocations: 41.47 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.9347, allocations: 83.72 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.9348, allocations: 87.72 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.9349, allocations: 20 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007545/0.9356, allocations: 411.5 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.9357, allocations: 39.84 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.9358, allocations: 91.64 kB / 1.226 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005803/0.9363, allocations: 419.3 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9363, allocations: 4 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9363, allocations: 0 / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9364, allocations: 3.938 kB / 1.226 GB, free: 12.55 MB / 0.9512 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.0007916/0.9371, allocations: 0.5256 MB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.9372, allocations: 12.03 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005699/0.9378, allocations: 92.73 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.9379, allocations: 176.2 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.938, allocations: 50.25 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.938, allocations: 16.38 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.9384, allocations: 195.7 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.9384, allocations: 3.938 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.9384, allocations: 4 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.9385, allocations: 4 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.9389, allocations: 179.9 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.9403, allocations: 0.9152 MB / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.9408, allocations: 162.5 kB / 1.228 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.941, allocations: 68.83 kB / 1.228 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/0.9416, allocations: 0.5181 MB / 1.229 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.9416, allocations: 38.55 kB / 1.229 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.9416, allocations: 4 kB / 1.229 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0006994/0.9423, allocations: 237.1 kB / 1.229 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.9424, allocations: 51.41 kB / 1.229 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.9425, allocations: 162.4 kB / 1.229 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.9425, allocations: 29.7 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.9426, allocations: 123.9 kB / 1.229 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.9427, allocations: 55.47 kB / 1.229 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.9428, allocations: 33.7 kB / 1.23 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9429, allocations: 326.8 kB / 1.23 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.9431, allocations: 67.97 kB / 1.23 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.9433, allocations: 100.1 kB / 1.23 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.9437, allocations: 149.6 kB / 1.23 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9437, allocations: 3.938 kB / 1.23 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005008/0.9442, allocations: 211.5 kB / 1.23 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.9442, allocations: 8 kB / 1.23 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9442, allocations: 4.031 kB / 1.23 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.9443, allocations: 3.984 kB / 1.23 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.9445, allocations: 35.92 kB / 1.23 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.9445, allocations: 3.984 kB / 1.23 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.9447, allocations: 27.88 kB / 1.23 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.9447, allocations: 7.938 kB / 1.23 GB, free: 7.578 MB / 0.9512 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.0001244/0.9448, allocations: 126.2 kB / 1.231 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.9449, allocations: 19.91 kB / 1.231 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.9454, allocations: 190.4 kB / 1.231 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.9454, allocations: 4 kB / 1.231 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.9454, allocations: 0 / 1.231 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.9454, allocations: 0 / 1.231 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.9468, allocations: 0.9818 MB / 1.232 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.9469, allocations: 4.062 kB / 1.232 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.9471, allocations: 31.91 kB / 1.232 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9471, allocations: 4 kB / 1.232 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.9471, allocations: 4 kB / 1.232 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.9471, allocations: 4 kB / 1.232 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9471, allocations: 3.984 kB / 1.232 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.9476, allocations: 293 kB / 1.232 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.9476, allocations: 92.95 kB / 1.232 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.9477, allocations: 8 kB / 1.232 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.9479, allocations: 15.98 kB / 1.232 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.948, allocations: 11.92 kB / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.948, allocations: 11.98 kB / 1.232 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.218e-05/0.948, allocations: 125.9 kB / 1.232 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.948, allocations: 0 / 1.232 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004563/0.9485, allocations: 123.6 kB / 1.232 GB, free: 5.328 MB / 0.9512 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.0004609/0.949, allocations: 230.7 kB / 1.233 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.9495, allocations: 167.8 kB / 1.233 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9495, allocations: 0 / 1.233 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.9496, allocations: 76.09 kB / 1.233 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.95, allocations: 49.61 kB / 1.233 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007679/0.9508, allocations: 336.2 kB / 1.233 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.9511, allocations: 0.7125 MB / 1.234 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.9512, allocations: 30.98 kB / 1.234 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.9513, allocations: 19.44 kB / 1.234 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/0.9513, allocations: 4 kB / 1.234 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of Templates: time 0.007928/0.9592, allocations: 4.302 MB / 1.238 GB, free: 15.41 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches