Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.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,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") 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_latest_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.001235/0.001236, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001565/0.001566, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 436.5 MB / 0.7104 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003155, allocations: 8 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5946/0.5949, allocations: 153.6 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002034/0.597, allocations: 1.613 MB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.5989, allocations: 1.482 MB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.599, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.599, allocations: 15.84 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.428e-05/0.5991, allocations: 51.88 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007555/0.5999, allocations: 274.4 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.6001, allocations: 147.7 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.6002, allocations: 33.66 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.6003, allocations: 67.78 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.6005, allocations: 87.72 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.6005, allocations: 8 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007073/0.6012, allocations: 383.5 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.6013, allocations: 31.91 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.6013, allocations: 49.64 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.6017, allocations: 321.2 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.6017, allocations: 0 / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6017, allocations: 4 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.6017, allocations: 0 / 1.025 GB, free: 12.53 MB / 0.7794 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.000695/0.6024, allocations: 0.4911 MB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.6025, allocations: 11.98 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005613/0.6031, allocations: 99.7 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.6032, allocations: 186.9 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.6033, allocations: 49.69 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.6033, allocations: 15.95 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.6037, allocations: 181.5 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6037, allocations: 0 / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.6038, allocations: 4 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6038, allocations: 7.984 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.6042, allocations: 191.8 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.6055, allocations: 0.9073 MB / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.6061, allocations: 182.5 kB / 1.027 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/0.6067, allocations: 0.5181 MB / 1.028 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.6067, allocations: 42.56 kB / 1.028 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.6067, allocations: 0 / 1.028 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007179/0.6075, allocations: 245.7 kB / 1.028 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.6075, allocations: 55.41 kB / 1.028 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.6076, allocations: 164 kB / 1.028 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.6077, allocations: 25.7 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.6078, allocations: 115.8 kB / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.6078, allocations: 51.3 kB / 1.029 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.6078, allocations: 0 / 1.029 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6079, allocations: 330.8 kB / 1.029 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.6081, allocations: 83.89 kB / 1.029 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.6084, allocations: 95.39 kB / 1.029 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.6086, allocations: 69.34 kB / 1.029 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6086, allocations: 4 kB / 1.029 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004842/0.6091, allocations: 217.4 kB / 1.029 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6091, allocations: 9.719 kB / 1.029 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6091, allocations: 0 / 1.029 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.6091, allocations: 0 / 1.029 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.6094, allocations: 48 kB / 1.029 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.6094, allocations: 7.875 kB / 1.03 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.6096, allocations: 31.69 kB / 1.03 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.6096, allocations: 11.98 kB / 1.03 GB, free: 7.719 MB / 0.7794 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.6097, allocations: 119.9 kB / 1.03 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.6098, allocations: 15.89 kB / 1.03 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.6103, allocations: 206.4 kB / 1.03 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6103, allocations: 3.984 kB / 1.03 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.6103, allocations: 4 kB / 1.03 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.6103, allocations: 4 kB / 1.03 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.6117, allocations: 0.9856 MB / 1.031 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6118, allocations: 0 / 1.031 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.612, allocations: 31.97 kB / 1.031 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.612, allocations: 4 kB / 1.031 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.612, allocations: 0 / 1.031 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.612, allocations: 11.89 kB / 1.031 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.612, allocations: 4.062 kB / 1.031 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.6125, allocations: 323.3 kB / 1.031 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.6126, allocations: 92.95 kB / 1.031 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.6126, allocations: 4 kB / 1.031 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.6128, allocations: 19.97 kB / 1.031 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.6129, allocations: 11.98 kB / 1.031 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.6129, allocations: 4 kB / 1.031 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.283e-05/0.613, allocations: 125.9 kB / 1.031 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.403e-06/0.613, allocations: 0 / 1.031 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004437/0.6134, allocations: 131.7 kB / 1.032 GB, free: 5.418 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004098/0.6139, allocations: 231 kB / 1.032 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004657/0.6143, allocations: 175.9 kB / 1.032 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6143, allocations: 64 / 1.032 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.6146, allocations: 91.89 kB / 1.032 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.6149, allocations: 40.06 kB / 1.032 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.6155, allocations: 381.5 kB / 1.032 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.6158, allocations: 0.7167 MB / 1.033 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.6159, allocations: 24.17 kB / 1.033 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.616, allocations: 19.38 kB / 1.033 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.616, allocations: 0 / 1.033 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of Templates: time 0.007238/0.6232, allocations: 4.05 MB / 1.037 GB, free: 15.69 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches