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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001557/0.001557, allocations: 104.1 kB / 16.35 MB, free: 6.289 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.001645/0.001645, allocations: 192 kB / 17.29 MB, free: 5.863 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.344/1.344, 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.2-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2615, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003458/0.265, allocations: 2.029 MB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002399/0.2674, allocations: 1.656 MB / 0.9547 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.2675, allocations: 4 kB / 0.9547 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.031e-05/0.2676, allocations: 19.78 kB / 0.9547 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.2678, allocations: 47.56 kB / 0.9548 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.2688, allocations: 354.8 kB / 0.9551 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.2691, allocations: 227.1 kB / 0.9553 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.2693, allocations: 57.45 kB / 0.9554 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2694, allocations: 83.77 kB / 0.9555 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.2695, allocations: 83.67 kB / 0.9555 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.2696, allocations: 20 kB / 0.9556 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007952/0.2704, allocations: 411.6 kB / 0.956 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.2704, allocations: 43.84 kB / 0.956 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.084e-05/0.2705, allocations: 87.66 kB / 0.9561 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000575/0.2711, allocations: 426.9 kB / 0.9565 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2711, allocations: 0 / 0.9565 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2711, allocations: 0 / 0.9565 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.2712, allocations: 0 / 0.9565 GB, free: 2.516 MB / 0.7325 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.0008213/0.272, allocations: 0.5109 MB / 0.957 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.272, allocations: 12.03 kB / 0.957 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005423/0.2726, allocations: 92.64 kB / 0.9571 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2727, allocations: 188 kB / 0.9573 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/0.2728, allocations: 50.25 kB / 0.9573 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.2729, allocations: 16.38 kB / 0.9573 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.2733, allocations: 186 kB / 0.9575 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2733, allocations: 3.938 kB / 0.9575 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.2733, allocations: 8 kB / 0.9575 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2733, allocations: 7.875 kB / 0.9575 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.2738, allocations: 175.9 kB / 0.9577 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.2752, allocations: 0.9113 MB / 0.9586 GB, free: 140 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.2756, allocations: 178.5 kB / 0.9588 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.2758, allocations: 76.83 kB / 0.9588 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/0.2765, allocations: 0.5219 MB / 0.9593 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2765, allocations: 42.55 kB / 0.9594 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.2765, allocations: 0 / 0.9594 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.0006693/0.2772, allocations: 225.5 kB / 0.9596 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.2772, allocations: 59.41 kB / 0.9597 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2774, allocations: 164.9 kB / 0.9598 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.2774, allocations: 37.7 kB / 0.9598 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.2775, allocations: 115.8 kB / 0.96 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.2775, allocations: 47.36 kB / 0.96 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.2776, allocations: 37.7 kB / 0.96 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2777, allocations: 322.8 kB / 0.9603 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.2779, allocations: 71.97 kB / 0.9604 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.2781, allocations: 99.55 kB / 0.9605 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.2785, allocations: 143.7 kB / 0.9606 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2785, allocations: 3.938 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004704/0.279, allocations: 221.4 kB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.279, allocations: 4 kB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.279, allocations: 3.984 kB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.279, allocations: 4 kB / 0.9609 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.2793, allocations: 35.92 kB / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2793, allocations: 3.984 kB / 0.9609 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.2795, allocations: 31.67 kB / 0.9609 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.2795, allocations: 4 kB / 0.9609 GB, free: 13.53 MB / 0.7481 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.0001138/0.2796, allocations: 135.8 kB / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.2797, allocations: 11.91 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/0.2802, allocations: 194.4 kB / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2802, allocations: 0 / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2802, allocations: 0 / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2802, allocations: 4 kB / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.2816, allocations: 0.9739 MB / 0.9622 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2816, allocations: 7.984 kB / 0.9622 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.2818, allocations: 31.92 kB / 0.9623 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2818, allocations: 0 / 0.9623 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.2818, allocations: 4 kB / 0.9623 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.2818, allocations: 3.984 kB / 0.9623 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.2818, allocations: 8 kB / 0.9623 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.2823, allocations: 301 kB / 0.9626 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.2824, allocations: 88.95 kB / 0.9627 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.2824, allocations: 4 kB / 0.9627 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.2826, allocations: 11.98 kB / 0.9627 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.2827, allocations: 27.86 kB / 0.9627 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.2827, allocations: 7.984 kB / 0.9627 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.62e-05/0.2828, allocations: 121.1 kB / 0.9628 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2828, allocations: 0 / 0.9628 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00047/0.2833, allocations: 127.9 kB / 0.9629 GB, free: 11.28 MB / 0.7481 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.0004242/0.2837, allocations: 219.1 kB / 0.9631 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004681/0.2842, allocations: 177.8 kB / 0.9633 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2842, allocations: 0 / 0.9633 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.2844, allocations: 83.97 kB / 0.9634 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.2848, allocations: 41.45 kB / 0.9634 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006257/0.2854, allocations: 332.8 kB / 0.9638 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.2857, allocations: 0.7086 MB / 0.9644 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.2858, allocations: 28.55 kB / 0.9645 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.2859, allocations: 19.44 kB / 0.9645 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.2859, allocations: 0 / 0.9645 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of Templates: time 0.007571/0.2935, allocations: 4.258 MB / 0.9687 GB, free: 5.414 MB / 0.7481 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 -s cvode -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