Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001136/0.001136, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001225/0.001225, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6939/0.6952, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002718/0.698, allocations: 2.032 MB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.7, allocations: 1.662 MB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.7001, allocations: 2.344 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.436e-05/0.7002, allocations: 20.05 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.267e-05/0.7003, allocations: 48.86 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008906/0.7012, allocations: 358.4 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.7014, allocations: 219.1 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.7016, allocations: 49.62 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.7017, allocations: 89.33 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.7018, allocations: 91.7 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.7019, allocations: 18.53 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008052/0.7027, allocations: 414.1 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.7027, allocations: 38.48 kB / 1.094 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.74e-05/0.7028, allocations: 89.36 kB / 1.094 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.7034, allocations: 422.6 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7035, allocations: 4.688 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7035, allocations: 0.5156 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7035, allocations: 4 kB / 1.094 GB, free: 2.133 MB / 0.8575 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.0007356/0.7042, allocations: 0.5111 MB / 1.095 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.7043, allocations: 8.719 kB / 1.095 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005993/0.7049, allocations: 90.11 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.403e-05/0.705, allocations: 182.4 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/0.705, allocations: 45.41 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.7051, allocations: 17.66 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.7055, allocations: 180.6 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.7055, allocations: 8.781 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.7055, allocations: 5 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7056, allocations: 3.75 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/0.706, allocations: 183.3 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.7073, allocations: 0.9107 MB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.7078, allocations: 174.5 kB / 1.096 GB, free: 376 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.708, allocations: 86.45 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006152/0.7086, allocations: 0.5206 MB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.7087, allocations: 33.14 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.7087, allocations: 0 / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0007567/0.7094, allocations: 244.6 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.7095, allocations: 57.31 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.7096, allocations: 153.1 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.7097, allocations: 30.83 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.7097, allocations: 119.5 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.7098, allocations: 45.03 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.7099, allocations: 43.2 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.71, allocations: 321.9 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.7102, allocations: 75.45 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.7105, allocations: 92.25 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.7109, allocations: 148.4 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.7109, allocations: 0 / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005456/0.7114, allocations: 218.8 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7115, allocations: 5.984 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.7115, allocations: 1.094 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.7115, allocations: 1.188 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.7118, allocations: 43.55 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.7118, allocations: 2.312 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.712, allocations: 24.22 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.712, allocations: 5.828 kB / 1.098 GB, free: 14.64 MB / 0.8731 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.0001059/0.7121, allocations: 129 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.7122, allocations: 11.41 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/0.7127, allocations: 205.2 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.7127, allocations: 1.5 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7128, allocations: 0 / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.7128, allocations: 93.02 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.7129, allocations: 6.891 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.7131, allocations: 24 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.7132, allocations: 15.88 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000613/0.7138, allocations: 261.8 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005272/0.7143, allocations: 352.3 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002074/0.7145, allocations: 77.34 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.656e-05/0.7146, allocations: 118.8 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of Backend: time 3.9e-07/0.7146, allocations: 0 / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.7158, allocations: 341.9 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007163/0.7165, allocations: 0.7349 MB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.01021/0.7267, allocations: 5.107 MB / 1.106 GB, free: 12.53 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches