Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001902/0.001902, allocations: 108.1 kB / 16.27 MB, free: 5.98 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.002024/0.002024, allocations: 190.7 kB / 17.2 MB, free: 5.605 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.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437.1 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 68.2 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3359, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003836/0.3398, allocations: 2.025 MB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002783/0.3427, allocations: 1.667 MB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.3428, allocations: 4 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.48e-05/0.3428, allocations: 15.8 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3431, allocations: 55.55 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.3443, allocations: 359.3 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.3445, allocations: 219.1 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3447, allocations: 49.39 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3449, allocations: 87.77 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.345, allocations: 79.73 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.3451, allocations: 20 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008388/0.3459, allocations: 395.5 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.346, allocations: 43.84 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.3461, allocations: 87.66 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.3467, allocations: 431.2 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3468, allocations: 0 / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3468, allocations: 0 / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3468, allocations: 0 / 1.023 GB, free: 5.121 MB / 0.795 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.0009449/0.3477, allocations: 0.5109 MB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3478, allocations: 12.88 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006035/0.3484, allocations: 92.64 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.3486, allocations: 188.1 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-05/0.3487, allocations: 50.27 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.3487, allocations: 16.38 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.3492, allocations: 183.3 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3492, allocations: 7.922 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3492, allocations: 4 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3492, allocations: 4 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.3497, allocations: 183.8 kB / 1.025 GB, free: 3.785 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.3513, allocations: 0.9034 MB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.3518, allocations: 174.5 kB / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.3521, allocations: 81.06 kB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007546/0.3528, allocations: 0.522 MB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.3529, allocations: 42.5 kB / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.3529, allocations: 0 / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.000758/0.3536, allocations: 233.6 kB / 1.026 GB, free: 1.578 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.3537, allocations: 55.41 kB / 1.027 GB, free: 1.512 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3539, allocations: 164.8 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.3539, allocations: 33.7 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.354, allocations: 111.8 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.3541, allocations: 51.3 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.3542, allocations: 37.7 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3543, allocations: 326.8 kB / 1.027 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.3546, allocations: 75.95 kB / 1.027 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.3548, allocations: 93.61 kB / 1.027 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.3552, allocations: 147.5 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3553, allocations: 7.938 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005308/0.3558, allocations: 219.2 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3558, allocations: 4 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3558, allocations: 0 / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3559, allocations: 4 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.3561, allocations: 35.97 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3561, allocations: 0 / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.3563, allocations: 31.8 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.3564, allocations: 4 kB / 1.028 GB, free: 148 kB / 0.795 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.0001429/0.3565, allocations: 130.8 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.3566, allocations: 11.95 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005406/0.3571, allocations: 198.4 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3571, allocations: 3.938 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3571, allocations: 0 / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3572, allocations: 0 / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.3588, allocations: 0.9817 MB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.3588, allocations: 4 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.3591, allocations: 27.98 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3591, allocations: 3.984 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3591, allocations: 4 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3591, allocations: 0 / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.3591, allocations: 12.06 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.3596, allocations: 296.9 kB / 1.029 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.3597, allocations: 88.95 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.3598, allocations: 0 / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.36, allocations: 23.97 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.36, allocations: 15.92 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3601, allocations: 8 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.908e-05/0.3602, allocations: 115.2 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3602, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005203/0.3607, allocations: 127.9 kB / 1.03 GB, free: 13.9 MB / 0.8106 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.0004812/0.3612, allocations: 231 kB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005356/0.3617, allocations: 179.8 kB / 1.03 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3617, allocations: 0 / 1.03 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.362, allocations: 83.89 kB / 1.03 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.3624, allocations: 52.2 kB / 1.03 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.3633, allocations: 366.3 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.3637, allocations: 0.7125 MB / 1.031 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.3638, allocations: 27.42 kB / 1.031 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of SimCode: time 5.71e-07/0.3638, allocations: 0 / 1.031 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.007052/0.3709, allocations: 3.859 MB / 1.035 GB, free: 8.375 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches