Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001341/0.001341, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.745/2.745, allocations: 469.8 MB / 0.742 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 72.47 kB / 0.908 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3163, allocations: 159.1 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003348/0.3197, allocations: 2.088 MB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.3221, allocations: 1.655 MB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.3221, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.633e-05/0.3222, allocations: 11.92 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.3223, allocations: 43.61 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.3232, allocations: 315.2 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.3234, allocations: 219.2 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.3236, allocations: 49.47 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3237, allocations: 83.7 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.3239, allocations: 91.67 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.3239, allocations: 20 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000749/0.3247, allocations: 415.5 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.3247, allocations: 47.83 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.955e-05/0.3248, allocations: 87.66 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005785/0.3254, allocations: 431.2 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3254, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3254, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3255, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 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.0008632/0.3263, allocations: 0.5147 MB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3264, allocations: 8.031 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005722/0.3269, allocations: 92.73 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3271, allocations: 180.1 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-05/0.3272, allocations: 46.25 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.3272, allocations: 12.38 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.3277, allocations: 186.8 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3277, allocations: 11.94 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.3277, allocations: 4 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.3277, allocations: 4 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.3282, allocations: 175.9 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.3296, allocations: 0.9112 MB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.3302, allocations: 178.5 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.3304, allocations: 80.83 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007223/0.3311, allocations: 0.5142 MB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3311, allocations: 34.56 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.3311, allocations: 4 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007233/0.3319, allocations: 238.8 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3319, allocations: 59.41 kB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3321, allocations: 156.9 kB / 1.072 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.3321, allocations: 33.7 kB / 1.072 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.3322, allocations: 115.8 kB / 1.072 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.3323, allocations: 51.34 kB / 1.072 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.3324, allocations: 37.7 kB / 1.072 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3325, allocations: 326.8 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.3328, allocations: 75.95 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.333, allocations: 95.2 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.3334, allocations: 156 kB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3334, allocations: 7.875 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004972/0.3339, allocations: 209.4 kB / 1.073 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3339, allocations: 4 kB / 1.073 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3339, allocations: 4.031 kB / 1.073 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3339, allocations: 4 kB / 1.073 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.3342, allocations: 39.91 kB / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3342, allocations: 0 / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.3344, allocations: 27.77 kB / 1.073 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3344, allocations: 7.984 kB / 1.073 GB, free: 4.109 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.0001303/0.3346, allocations: 133.7 kB / 1.073 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.3346, allocations: 15.91 kB / 1.073 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005142/0.3351, allocations: 196 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3351, allocations: 0 / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3352, allocations: 0 / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3352, allocations: 0 / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.3367, allocations: 0.974 MB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3367, allocations: 64 / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.3369, allocations: 43.91 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3369, allocations: 0 / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.3369, allocations: 4 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3369, allocations: 0 / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3369, allocations: 0 / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.3374, allocations: 297.5 kB / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.3375, allocations: 92.94 kB / 1.075 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.3376, allocations: 4 kB / 1.075 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.3378, allocations: 11.98 kB / 1.075 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.3378, allocations: 11.92 kB / 1.075 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.3379, allocations: 8 kB / 1.075 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.07e-05/0.338, allocations: 125.3 kB / 1.075 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.338, allocations: 0 / 1.075 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004515/0.3384, allocations: 131.8 kB / 1.075 GB, free: 1.875 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.0004528/0.3389, allocations: 224.3 kB / 1.075 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004914/0.3394, allocations: 197.8 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3394, allocations: 0 / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.3396, allocations: 80.09 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.34, allocations: 53.95 kB / 1.076 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.3407, allocations: 360.6 kB / 1.076 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3411, allocations: 0.7086 MB / 1.077 GB, free: 212 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000162/0.3413, allocations: 34.03 kB / 1.077 GB, free: 180 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.3413, allocations: 19.44 kB / 1.077 GB, free: 160 kB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3414, allocations: 0 / 1.077 GB, free: 160 kB / 0.8262 GB Notification: Performance of Templates: time 0.00855/0.3499, allocations: 4.254 MB / 1.081 GB, free: 11.94 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches