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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009246/0.0009249, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001226, allocations: 186.4 kB / 16.92 MB, free: 6.684 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003963, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8232/0.8237, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002037/0.8257, allocations: 1.739 MB / 0.9574 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.828, allocations: 1.698 MB / 0.9591 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.8281, allocations: 2.375 kB / 0.9591 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.336e-05/0.8281, allocations: 17.38 kB / 0.9591 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.8283, allocations: 41.75 kB / 0.9591 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008915/0.8292, allocations: 291.3 kB / 0.9594 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.8294, allocations: 221.5 kB / 0.9596 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.8295, allocations: 43.33 kB / 0.9597 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.461e-05/0.8296, allocations: 67.58 kB / 0.9597 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.8298, allocations: 84.55 kB / 0.9598 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.8298, allocations: 9.625 kB / 0.9598 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007753/0.8306, allocations: 388.1 kB / 0.9602 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.8307, allocations: 28.91 kB / 0.9602 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.413e-05/0.8308, allocations: 105.2 kB / 0.9603 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.8312, allocations: 316.1 kB / 0.9606 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.8312, allocations: 0 / 0.9606 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8312, allocations: 5.125 kB / 0.9606 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.8312, allocations: 0 / 0.9606 GB, free: 4.055 MB / 0.7169 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.000734/0.8319, allocations: 493.5 kB / 0.9611 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.832, allocations: 9.625 kB / 0.9611 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/0.8326, allocations: 98.53 kB / 0.9612 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.8327, allocations: 180.4 kB / 0.9614 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.8328, allocations: 58.56 kB / 0.9614 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.8328, allocations: 17.94 kB / 0.9614 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.8332, allocations: 182.5 kB / 0.9616 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8333, allocations: 3.938 kB / 0.9616 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.8333, allocations: 4.969 kB / 0.9616 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.8333, allocations: 3.75 kB / 0.9616 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.8338, allocations: 190.5 kB / 0.9618 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.835, allocations: 0.9294 MB / 0.9627 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.8355, allocations: 182 kB / 0.9629 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.8357, allocations: 81.86 kB / 0.963 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005169/0.8362, allocations: 0.5243 MB / 0.9635 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.8363, allocations: 35.34 kB / 0.9635 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.8363, allocations: 0 / 0.9635 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0007125/0.837, allocations: 258.8 kB / 0.9637 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.837, allocations: 53.84 kB / 0.9638 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.8372, allocations: 159.3 kB / 0.964 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.8372, allocations: 27.7 kB / 0.964 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.8372, allocations: 117.2 kB / 0.9641 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.8373, allocations: 49.11 kB / 0.9641 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.8373, allocations: 26.8 kB / 0.9642 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.8374, allocations: 321.4 kB / 0.9645 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.8376, allocations: 76.5 kB / 0.9645 GB, free: 476 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.8378, allocations: 101.9 kB / 0.9646 GB, free: 416 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.8382, allocations: 152.5 kB / 0.9648 GB, free: 332 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8382, allocations: 4.812 kB / 0.9648 GB, free: 328 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000481/0.8387, allocations: 224.1 kB / 0.965 GB, free: 204 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.8387, allocations: 5.75 kB / 0.965 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.8387, allocations: 8.938 kB / 0.965 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.8388, allocations: 8.984 kB / 0.965 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.839, allocations: 33.95 kB / 0.9651 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.839, allocations: 9.328 kB / 0.9651 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.8392, allocations: 25.89 kB / 0.9651 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.8393, allocations: 4.688 kB / 0.9651 GB, free: 160 kB / 0.7169 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 9.651e-05/0.8394, allocations: 132.2 kB / 0.9652 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.8394, allocations: 11.62 kB / 0.9652 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005729/0.84, allocations: 206 kB / 0.9654 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.84, allocations: 1.25 kB / 0.9654 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.84, allocations: 0 / 0.9654 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.84, allocations: 1.031 kB / 0.9654 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.8415, allocations: 0.989 MB / 0.9664 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.8415, allocations: 1.344 kB / 0.9664 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.8417, allocations: 34.69 kB / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.8418, allocations: 2.719 kB / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.8418, allocations: 1.312 kB / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.8418, allocations: 1.5 kB / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.8418, allocations: 5.266 kB / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.8423, allocations: 307.9 kB / 0.9667 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.8424, allocations: 88.17 kB / 0.9668 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.8424, allocations: 7.922 kB / 0.9668 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.8427, allocations: 22.73 kB / 0.9668 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.8427, allocations: 13.27 kB / 0.9669 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.8427, allocations: 2.656 kB / 0.9669 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.135e-05/0.8428, allocations: 127.1 kB / 0.967 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8428, allocations: 0 / 0.967 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005266/0.8434, allocations: 129.2 kB / 0.9671 GB, free: 14.38 MB / 0.7325 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.0004976/0.8439, allocations: 231.4 kB / 0.9673 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005134/0.8444, allocations: 185.8 kB / 0.9675 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8444, allocations: 0 / 0.9675 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.8446, allocations: 88.47 kB / 0.9676 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.8451, allocations: 37.23 kB / 0.9676 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/0.8459, allocations: 440.6 kB / 0.968 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.8462, allocations: 0.7056 MB / 0.9687 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.8463, allocations: 23.02 kB / 0.9688 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.8463, allocations: 5.031 kB / 0.9688 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of Templates: time 0.007045/0.8534, allocations: 3.842 MB / 0.9725 GB, free: 11.07 MB / 0.7325 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/jenkins1/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