Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.001067/0.001067, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.18 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.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.27 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2526, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003485/0.2561, allocations: 2.026 MB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.2587, allocations: 1.659 MB / 0.9547 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.2588, allocations: 4 kB / 0.9547 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.839e-05/0.2589, allocations: 23.78 kB / 0.9547 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.259, allocations: 47.55 kB / 0.9548 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.2603, allocations: 362.8 kB / 0.9551 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.2606, allocations: 219.1 kB / 0.9553 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.2608, allocations: 53.44 kB / 0.9554 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.2609, allocations: 83.77 kB / 0.9555 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.2611, allocations: 83.73 kB / 0.9556 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.2611, allocations: 24 kB / 0.9556 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008595/0.262, allocations: 411.5 kB / 0.956 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.2621, allocations: 43.83 kB / 0.956 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.2622, allocations: 87.66 kB / 0.9561 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.2629, allocations: 423 kB / 0.9565 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2629, allocations: 0 / 0.9565 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2629, allocations: 0 / 0.9565 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.2629, 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.0009726/0.2639, allocations: 0.5186 MB / 0.957 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.264, allocations: 12.03 kB / 0.957 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005955/0.2646, allocations: 92.58 kB / 0.9571 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.2647, allocations: 184.1 kB / 0.9573 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.881e-05/0.2648, allocations: 54.2 kB / 0.9573 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.2649, allocations: 12.38 kB / 0.9573 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.2653, allocations: 182 kB / 0.9575 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2654, allocations: 7.938 kB / 0.9575 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.2654, allocations: 8 kB / 0.9575 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2654, allocations: 0 / 0.9575 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.2659, allocations: 179.9 kB / 0.9577 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.2674, allocations: 0.9151 MB / 0.9586 GB, free: 136 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.2679, allocations: 166.6 kB / 0.9588 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.2681, allocations: 84.8 kB / 0.9588 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006216/0.2687, allocations: 0.5181 MB / 0.9593 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2687, allocations: 34.56 kB / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.2688, allocations: 0 / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.000681/0.2694, allocations: 241.6 kB / 0.9596 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.2695, allocations: 59.34 kB / 0.9597 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2696, allocations: 164.4 kB / 0.9598 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2697, allocations: 29.7 kB / 0.9599 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.2697, allocations: 115.8 kB / 0.96 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.2698, allocations: 47.27 kB / 0.96 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.2699, allocations: 37.7 kB / 0.96 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.27, allocations: 326.8 kB / 0.9604 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2702, allocations: 75.95 kB / 0.9604 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.2704, allocations: 91.56 kB / 0.9605 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.2708, allocations: 151.7 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2708, allocations: 3.938 kB / 0.9607 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004894/0.2713, allocations: 213.5 kB / 0.9609 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2714, allocations: 5.875 kB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2714, allocations: 0 / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2714, allocations: 7.938 kB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.2716, allocations: 44 kB / 0.9609 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2717, allocations: 0 / 0.9609 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.2718, allocations: 27.67 kB / 0.961 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.2719, allocations: 8 kB / 0.961 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.0001147/0.272, allocations: 129.7 kB / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.2721, allocations: 11.91 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.2726, allocations: 198.4 kB / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2726, allocations: 0 / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2726, allocations: 4 kB / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2726, allocations: 0 / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.274, allocations: 0.9855 MB / 0.9622 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.274, allocations: 4 kB / 0.9623 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.2742, allocations: 23.98 kB / 0.9623 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2743, allocations: 4 kB / 0.9623 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.2743, allocations: 8.047 kB / 0.9623 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2743, allocations: 0 / 0.9623 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2743, allocations: 4 kB / 0.9623 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.2748, allocations: 292.9 kB / 0.9626 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.2749, allocations: 92.95 kB / 0.9627 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.2749, allocations: 4 kB / 0.9627 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.2751, allocations: 15.97 kB / 0.9627 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2752, allocations: 19.92 kB / 0.9627 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.2752, allocations: 4 kB / 0.9627 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.943e-05/0.2753, allocations: 121.1 kB / 0.9628 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2753, allocations: 0 / 0.9628 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004537/0.2758, allocations: 127.9 kB / 0.9629 GB, free: 11.29 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.0004523/0.2762, allocations: 231 kB / 0.9632 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004735/0.2767, allocations: 175.9 kB / 0.9633 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2767, allocations: 4 kB / 0.9633 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.2769, allocations: 83.89 kB / 0.9634 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.2774, allocations: 46.38 kB / 0.9635 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.2781, allocations: 334.6 kB / 0.9638 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.2784, allocations: 0.7047 MB / 0.9645 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00014/0.2785, allocations: 32.66 kB / 0.9645 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.2786, allocations: 27.42 kB / 0.9645 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.2786, allocations: 0 / 0.9645 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of Templates: time 0.00814/0.2868, allocations: 4.272 MB / 0.9687 GB, free: 5.391 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches