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.001377/0.001377, allocations: 106.6 kB / 16.4 MB, free: 6.508 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.001547/0.001548, allocations: 192 kB / 17.34 MB, free: 5.738 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.14 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.662/2.662, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.84 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7519/0.754, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.004993/0.759, allocations: 2.03 MB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003895/0.7629, allocations: 1.652 MB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.7631, allocations: 7.938 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.517e-05/0.7632, allocations: 15.84 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.7634, allocations: 55.55 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.7649, allocations: 358.9 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.7653, allocations: 219 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.7655, allocations: 57.45 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.7657, allocations: 79.83 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.7659, allocations: 83.67 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/0.766, allocations: 20 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.7672, allocations: 411.5 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.7673, allocations: 43.91 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.7674, allocations: 87.66 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009475/0.7684, allocations: 431 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7684, allocations: 4 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.078e-06/0.7684, allocations: 3.984 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.7684, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9044 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.001189/0.7696, allocations: 0.514 MB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.7697, allocations: 16.88 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000867/0.7706, allocations: 92.73 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.7708, allocations: 188.1 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.771, allocations: 46.27 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.771, allocations: 12.38 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006578/0.7717, allocations: 187.2 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.7717, allocations: 3.938 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/0.7718, allocations: 11.94 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.7718, allocations: 4 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.7726, allocations: 175.9 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.7748, allocations: 0.9151 MB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.7755, allocations: 172.2 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.7759, allocations: 81.06 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.7769, allocations: 0.5298 MB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.777, allocations: 34.5 kB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 2.555e-06/0.777, allocations: 0 / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.001218/0.7782, allocations: 233.5 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.7783, allocations: 51.41 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.7786, allocations: 165.1 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.7786, allocations: 29.7 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.7788, allocations: 119.7 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.71e-05/0.7788, allocations: 47.58 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.779, allocations: 41.66 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.7792, allocations: 322.8 kB / 1.177 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.7796, allocations: 79.95 kB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.7799, allocations: 97.61 kB / 1.177 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.7806, allocations: 144.2 kB / 1.177 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.7806, allocations: 3.938 kB / 1.177 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008451/0.7815, allocations: 225.3 kB / 1.177 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.7815, allocations: 4 kB / 1.177 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.7815, allocations: 7.984 kB / 1.177 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.7815, allocations: 0 / 1.177 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.7819, allocations: 35.97 kB / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.7819, allocations: 0 / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.7822, allocations: 27.88 kB / 1.177 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.7822, allocations: 4 kB / 1.177 GB, free: 9.266 MB / 0.9044 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.000169/0.7824, allocations: 133.8 kB / 1.177 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.7825, allocations: 15.91 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008445/0.7833, allocations: 195.7 kB / 1.177 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.7834, allocations: 3.938 kB / 1.177 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.7834, allocations: 8 kB / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.7834, allocations: 3.984 kB / 1.178 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.7858, allocations: 0.9779 MB / 1.178 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7858, allocations: 0 / 1.178 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.7861, allocations: 27.97 kB / 1.178 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.7861, allocations: 4 kB / 1.178 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.7862, allocations: 0 / 1.178 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.7862, allocations: 4 kB / 1.178 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.7862, allocations: 3.938 kB / 1.178 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008522/0.7871, allocations: 294.5 kB / 1.179 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.7872, allocations: 92.95 kB / 1.179 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.7872, allocations: 8 kB / 1.179 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.7876, allocations: 11.97 kB / 1.179 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.7877, allocations: 23.92 kB / 1.179 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.7877, allocations: 4 kB / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001512/0.7879, allocations: 117.7 kB / 1.179 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7879, allocations: 4 kB / 1.179 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008352/0.7887, allocations: 123.6 kB / 1.179 GB, free: 7.023 MB / 0.9044 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.0007032/0.7895, allocations: 234.6 kB / 1.179 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000802/0.7903, allocations: 178.2 kB / 1.18 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.7903, allocations: 4.062 kB / 1.18 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.7907, allocations: 83.89 kB / 1.18 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006817/0.7914, allocations: 40.53 kB / 1.18 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.7926, allocations: 344.4 kB / 1.18 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.7932, allocations: 0.7086 MB / 1.181 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002441/0.7934, allocations: 31.17 kB / 1.181 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.7935, allocations: 23.42 kB / 1.181 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.7936, allocations: 0 / 1.181 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of Templates: time 0.01364/0.8072, allocations: 4.295 MB / 1.185 GB, free: 1.098 MB / 0.9044 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=480 -s cvode -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