Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,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") 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_10_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.00145/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001659/0.00166, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.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.503/2.503, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.11 kB / 0.8685 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5835/0.5847, allocations: 151.6 MB / 1.017 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003194/0.588, allocations: 2.092 MB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.5906, allocations: 1.742 MB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.5907, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.926e-05/0.5907, allocations: 15.84 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.66e-05/0.5908, allocations: 43.67 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.5916, allocations: 299.2 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.5918, allocations: 207.2 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.592, allocations: 41.48 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.471e-05/0.5921, allocations: 79.7 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.5922, allocations: 83.67 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.5922, allocations: 12 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007252/0.593, allocations: 391.5 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.593, allocations: 31.91 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.862e-05/0.5931, allocations: 83.66 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.5937, allocations: 417.1 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.5937, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.61e-07/0.5937, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5937, allocations: 4 kB / 1.022 GB, free: 13.4 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.0008059/0.5945, allocations: 0.5186 MB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5945, allocations: 8.031 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005772/0.5951, allocations: 92.58 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.5953, allocations: 184.2 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/0.5954, allocations: 54.25 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.5954, allocations: 12.38 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.5958, allocations: 178.1 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5958, allocations: 3.938 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.5959, allocations: 8 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.5959, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.5963, allocations: 188.9 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.5977, allocations: 0.9111 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.5982, allocations: 178.5 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.5984, allocations: 76.81 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006507/0.599, allocations: 0.5259 MB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.5991, allocations: 34.56 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.5991, allocations: 0 / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007049/0.5998, allocations: 233.7 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.5998, allocations: 59.39 kB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.6, allocations: 162.1 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.6, allocations: 25.7 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.6001, allocations: 123.8 kB / 1.025 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.6001, allocations: 47.3 kB / 1.025 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.6002, allocations: 33.7 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6003, allocations: 326.8 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.6006, allocations: 75.95 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.6008, allocations: 93.67 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.6012, allocations: 159.3 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.6012, allocations: 7.938 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004928/0.6017, allocations: 215.1 kB / 1.026 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6017, allocations: 8 kB / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6017, allocations: 0 / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.6017, allocations: 0 / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.602, allocations: 35.97 kB / 1.026 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.602, allocations: 4 kB / 1.026 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.6022, allocations: 23.86 kB / 1.026 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.6022, allocations: 8 kB / 1.026 GB, free: 8.41 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 (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.0001202/0.6023, allocations: 126.2 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.6024, allocations: 11.91 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.6029, allocations: 198 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6029, allocations: 4 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.6029, allocations: 0 / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.603, allocations: 0 / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.6044, allocations: 0.9932 MB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.6044, allocations: 0 / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.6046, allocations: 27.98 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.6046, allocations: 0 / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.6046, allocations: 7.984 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.6046, allocations: 4 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6046, allocations: 4.062 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.6051, allocations: 288.9 kB / 1.028 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.6052, allocations: 92.95 kB / 1.028 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.6052, allocations: 4 kB / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.6054, allocations: 23.97 kB / 1.028 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.6055, allocations: 11.92 kB / 1.028 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.6055, allocations: 4 kB / 1.028 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.824e-05/0.6056, allocations: 119.2 kB / 1.028 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.272e-06/0.6056, allocations: 0 / 1.028 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004285/0.606, allocations: 131.8 kB / 1.028 GB, free: 6.172 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 (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.0004379/0.6065, allocations: 231 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.607, allocations: 183.8 kB / 1.029 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.607, allocations: 0 / 1.029 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.6072, allocations: 83.89 kB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.6076, allocations: 40.16 kB / 1.029 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006818/0.6083, allocations: 374.1 kB / 1.029 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.6086, allocations: 0.7089 MB / 1.03 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.6088, allocations: 29.3 kB / 1.03 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.6089, allocations: 19.44 kB / 1.03 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.6089, allocations: 0 / 1.03 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of Templates: time 0.007379/0.6163, allocations: 4.142 MB / 1.034 GB, free: 372 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches