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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.006232/0.006232, allocations: 101.6 kB / 15.88 MB, free: 6.324 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.001377/0.001377, allocations: 194.1 kB / 16.79 MB, free: 6.254 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 65.48 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3522, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003707/0.3559, allocations: 2.09 MB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.3586, allocations: 1.749 MB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3588, allocations: 0 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.303e-05/0.3589, allocations: 11.92 kB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.3591, allocations: 43.61 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3602, allocations: 295.2 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.3605, allocations: 207.1 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3607, allocations: 49.36 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.3608, allocations: 71.78 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.361, allocations: 87.66 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.3611, allocations: 12 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009016/0.362, allocations: 391.5 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.362, allocations: 35.89 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.984e-05/0.3621, allocations: 83.66 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.3627, allocations: 315.6 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3627, allocations: 0 / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3627, allocations: 3.938 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.3627, allocations: 3.938 kB / 1.058 GB, free: 2.828 MB / 0.8106 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.0009638/0.3637, allocations: 0.511 MB / 1.059 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3637, allocations: 11.97 kB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006158/0.3643, allocations: 92.64 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.3645, allocations: 180.1 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/0.3646, allocations: 50.25 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.3646, allocations: 12.38 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.3651, allocations: 178 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3651, allocations: 11.94 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.3651, allocations: 4 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3652, allocations: 4 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.3656, allocations: 179.9 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.3671, allocations: 0.9188 MB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.3676, allocations: 174.5 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.3678, allocations: 80.83 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006801/0.3685, allocations: 0.5143 MB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3685, allocations: 42.56 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.3685, allocations: 3.938 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007034/0.3692, allocations: 229.8 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.3693, allocations: 55.41 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3694, allocations: 163.3 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.3695, allocations: 29.7 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.3695, allocations: 119.8 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.3696, allocations: 47.27 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.3697, allocations: 37.7 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3698, allocations: 326.8 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.37, allocations: 71.95 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.3702, allocations: 89.67 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.3706, allocations: 157 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3706, allocations: 3.938 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004901/0.3711, allocations: 213.4 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3711, allocations: 8.031 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3711, allocations: 0 / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3712, allocations: 8 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.3714, allocations: 39.97 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3714, allocations: 0 / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.3716, allocations: 23.77 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.3716, allocations: 11.98 kB / 1.062 GB, free: 13.85 MB / 0.8262 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.0001238/0.3718, allocations: 133.7 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.3718, allocations: 11.91 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005027/0.3723, allocations: 193.3 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3724, allocations: 3.984 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3724, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3724, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.3738, allocations: 0.9817 MB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3738, allocations: 4.062 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.374, allocations: 31.97 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.374, allocations: 0 / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3741, allocations: 4 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3741, allocations: 0 / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3741, allocations: 0 / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.3746, allocations: 300.9 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.3747, allocations: 92.94 kB / 1.064 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.3747, allocations: 4 kB / 1.064 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.3749, allocations: 15.92 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.375, allocations: 19.86 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.375, allocations: 8 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.158e-05/0.3751, allocations: 122.1 kB / 1.064 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3751, allocations: 0 / 1.064 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004987/0.3756, allocations: 123.9 kB / 1.064 GB, free: 11.62 MB / 0.8262 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.0005536/0.3762, allocations: 231 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005028/0.3767, allocations: 175.8 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3767, allocations: 4 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.3769, allocations: 80.09 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.3774, allocations: 39.97 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008495/0.3783, allocations: 407.8 kB / 1.065 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3786, allocations: 0.7089 MB / 1.066 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.689e-05/0.3787, allocations: 27.42 kB / 1.066 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3787, allocations: 4 kB / 1.066 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of Templates: time 0.007611/0.3863, allocations: 3.865 MB / 1.07 GB, free: 6.066 MB / 0.8262 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/jenkins1/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