Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_ZeroInput,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_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_latest_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.006762/0.006762, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001514/0.001514, allocations: 186.9 kB / 16.67 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3054, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003661/0.3091, allocations: 2.038 MB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.3118, allocations: 1.655 MB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3119, allocations: 4 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.91e-05/0.312, allocations: 19.78 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.3122, allocations: 47.56 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3134, allocations: 352.8 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.3136, allocations: 223.1 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3138, allocations: 49.47 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.3139, allocations: 83.77 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.3141, allocations: 87.73 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.3142, allocations: 19.94 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000811/0.315, allocations: 411.6 kB / 1.213 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.3151, allocations: 43.84 kB / 1.213 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.3152, allocations: 83.66 kB / 1.213 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006775/0.3158, allocations: 438.9 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3159, allocations: 0 / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3159, allocations: 0 / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.3159, allocations: 0 / 1.213 GB, free: 4.113 MB / 0.9669 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.0009435/0.3168, allocations: 0.5147 MB / 1.214 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3169, allocations: 8.625 kB / 1.214 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006465/0.3175, allocations: 92.64 kB / 1.214 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.3177, allocations: 180.2 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.389e-05/0.3178, allocations: 50.25 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.3178, allocations: 16.38 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.3183, allocations: 186.5 kB / 1.214 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3184, allocations: 3.938 kB / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.3184, allocations: 4 kB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.3184, allocations: 7.984 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.3189, allocations: 183.8 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.3203, allocations: 0.9072 MB / 1.215 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.3209, allocations: 170.5 kB / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.3211, allocations: 80.83 kB / 1.215 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006626/0.3218, allocations: 0.522 MB / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3218, allocations: 38.56 kB / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.3218, allocations: 3.938 kB / 1.216 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.000762/0.3226, allocations: 237.7 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3226, allocations: 55.34 kB / 1.216 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3228, allocations: 163 kB / 1.216 GB, free: 344 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3228, allocations: 25.7 kB / 1.216 GB, free: 312 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.3229, allocations: 123.8 kB / 1.217 GB, free: 184 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.323, allocations: 47.3 kB / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.323, allocations: 41.59 kB / 1.217 GB, free: 88 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3232, allocations: 326.8 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.3234, allocations: 67.97 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.3236, allocations: 101.7 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.324, allocations: 148.1 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.324, allocations: 3.938 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005087/0.3245, allocations: 207.7 kB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3246, allocations: 12.03 kB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3246, allocations: 0 / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3246, allocations: 0 / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.3249, allocations: 47.89 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3249, allocations: 4 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.3251, allocations: 23.77 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.3251, allocations: 11.98 kB / 1.218 GB, free: 15.13 MB / 0.9825 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.0001217/0.3252, allocations: 125.8 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.3253, allocations: 15.81 kB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005282/0.3258, allocations: 200.7 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3258, allocations: 4 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3258, allocations: 0 / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3258, allocations: 4 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.3273, allocations: 0.9855 MB / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3273, allocations: 0 / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.3275, allocations: 31.97 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3276, allocations: 3.938 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3276, allocations: 4 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3276, allocations: 4 kB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3276, allocations: 0 / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.3281, allocations: 285.1 kB / 1.219 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.3282, allocations: 100.8 kB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3282, allocations: 4 kB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.3284, allocations: 15.98 kB / 1.219 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.3285, allocations: 11.92 kB / 1.219 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.3285, allocations: 15.92 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.712e-05/0.3286, allocations: 117.1 kB / 1.219 GB, free: 13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3286, allocations: 0 / 1.219 GB, free: 13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004486/0.329, allocations: 127.8 kB / 1.22 GB, free: 12.88 MB / 0.9825 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.0004399/0.3295, allocations: 227 kB / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004936/0.33, allocations: 179.8 kB / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.33, allocations: 0 / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.3303, allocations: 83.97 kB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.3307, allocations: 46.59 kB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007888/0.3315, allocations: 332.6 kB / 1.22 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.3317, allocations: 0.7125 MB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.3319, allocations: 26.67 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.332, allocations: 27.44 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.332, allocations: 0 / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of Templates: time 0.008077/0.3401, allocations: 4.339 MB / 1.225 GB, free: 6.949 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches