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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001736/0.001736, allocations: 109.5 kB / 16.42 MB, free: 6.512 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.0019/0.0019, allocations: 187.9 kB / 17.35 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.478/1.478, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.675/2.675, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7727, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003466/0.7763, allocations: 2.027 MB / 1.223 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.7787, allocations: 1.673 MB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.977e-05/0.7788, allocations: 0 / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.343e-05/0.7789, allocations: 23.78 kB / 1.225 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.7791, allocations: 43.56 kB / 1.225 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.7806, allocations: 362.8 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.7808, allocations: 223.1 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.781, allocations: 49.48 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.7811, allocations: 75.83 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.7813, allocations: 87.67 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.7813, allocations: 20 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008891/0.7822, allocations: 415.5 kB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.7823, allocations: 39.84 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.763e-05/0.7824, allocations: 91.64 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.783, allocations: 424.7 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7831, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7831, allocations: 4 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.7831, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9512 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.0009076/0.784, allocations: 0.5146 MB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.784, allocations: 12.62 kB / 1.227 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005986/0.7846, allocations: 88.64 kB / 1.227 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.7848, allocations: 176.3 kB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.497e-05/0.7849, allocations: 54.19 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.7849, allocations: 16.38 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.7854, allocations: 183.2 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.7854, allocations: 7.922 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.7854, allocations: 8 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.7855, allocations: 4 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.7859, allocations: 179.8 kB / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.7874, allocations: 0.9227 MB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.7879, allocations: 174.5 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.7881, allocations: 84.83 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000665/0.7888, allocations: 0.5142 MB / 1.229 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.7888, allocations: 34.56 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.7888, allocations: 0 / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0007426/0.7896, allocations: 237.7 kB / 1.229 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.7896, allocations: 55.41 kB / 1.229 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.7898, allocations: 157.1 kB / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.7898, allocations: 29.7 kB / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.7899, allocations: 115.8 kB / 1.23 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.79, allocations: 55.28 kB / 1.23 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.79, allocations: 45.61 kB / 1.23 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7902, allocations: 322.8 kB / 1.23 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.7904, allocations: 71.97 kB / 1.23 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.7906, allocations: 96.06 kB / 1.23 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.791, allocations: 150.8 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7911, allocations: 0 / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005145/0.7916, allocations: 213.4 kB / 1.231 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7916, allocations: 4 kB / 1.231 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7916, allocations: 0 / 1.231 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.7916, allocations: 8.031 kB / 1.231 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.7919, allocations: 39.91 kB / 1.231 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.7919, allocations: 0 / 1.231 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.7921, allocations: 27.81 kB / 1.231 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.7921, allocations: 4 kB / 1.231 GB, free: 7.82 MB / 0.9512 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.0001169/0.7923, allocations: 130.2 kB / 1.231 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.7923, allocations: 15.81 kB / 1.231 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/0.7929, allocations: 198.2 kB / 1.231 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7929, allocations: 0 / 1.231 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7929, allocations: 0 / 1.231 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.7929, allocations: 92.95 kB / 1.231 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.793, allocations: 0 / 1.231 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.7932, allocations: 23.97 kB / 1.231 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.7933, allocations: 11.92 kB / 1.231 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005968/0.7939, allocations: 264.8 kB / 1.231 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005493/0.7944, allocations: 362.6 kB / 1.232 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002111/0.7947, allocations: 79.2 kB / 1.232 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.338e-05/0.7947, allocations: 113.1 kB / 1.232 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of Backend: time 6.21e-07/0.7948, allocations: 4 kB / 1.232 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.7958, allocations: 343 kB / 1.232 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007105/0.7965, allocations: 0.7453 MB / 1.233 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of Templates: time 0.009048/0.8056, allocations: 5.104 MB / 1.238 GB, free: 316 kB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches