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.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_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.001543/0.001543, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002027/0.002028, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.3/2.3, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.6009, allocations: 140.3 MB / 0.9489 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00294/0.6039, allocations: 2.086 MB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.6059, allocations: 1.74 MB / 0.9526 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.606, allocations: 3.625 kB / 0.9527 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.029e-05/0.606, allocations: 13.44 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/0.6061, allocations: 45.45 kB / 0.9527 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000725/0.6069, allocations: 287.3 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.607, allocations: 216.5 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.6072, allocations: 51.72 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.6073, allocations: 73.25 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.6074, allocations: 84.31 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.6074, allocations: 11.12 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006445/0.6081, allocations: 377.5 kB / 0.9538 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.6081, allocations: 46.84 kB / 0.9538 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.258e-05/0.6082, allocations: 78.81 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.6087, allocations: 429.8 kB / 0.9543 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.6087, allocations: 3.938 kB / 0.9543 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6087, allocations: 0 / 0.9543 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.6087, allocations: 0 / 0.9543 GB, free: 5.266 MB / 0.7169 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.0006857/0.6094, allocations: 0.5193 MB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.6095, allocations: 8.5 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.61, allocations: 90.58 kB / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.443e-05/0.6101, allocations: 179.3 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.6102, allocations: 48.88 kB / 0.9551 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.6102, allocations: 18.97 kB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.6106, allocations: 177.5 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6106, allocations: 7.922 kB / 0.9553 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.6106, allocations: 10.09 kB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.6106, allocations: 3.781 kB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.6111, allocations: 178 kB / 0.9555 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.6122, allocations: 0.9146 MB / 0.9564 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.6127, allocations: 175.6 kB / 0.9565 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.6129, allocations: 76.73 kB / 0.9566 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000525/0.6134, allocations: 0.5201 MB / 0.9571 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.6134, allocations: 35.91 kB / 0.9572 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.6134, allocations: 3.984 kB / 0.9572 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006404/0.6141, allocations: 232.1 kB / 0.9574 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.6141, allocations: 61.44 kB / 0.9574 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.6142, allocations: 157.8 kB / 0.9576 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.6143, allocations: 26.8 kB / 0.9576 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.6143, allocations: 122.4 kB / 0.9577 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.6144, allocations: 57.27 kB / 0.9578 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.6144, allocations: 34.08 kB / 0.9578 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.6145, allocations: 325.6 kB / 0.9581 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.6147, allocations: 73.09 kB / 0.9582 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.6149, allocations: 100.2 kB / 0.9583 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.6152, allocations: 143.8 kB / 0.9584 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6152, allocations: 3.938 kB / 0.9584 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004613/0.6157, allocations: 213 kB / 0.9586 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.6157, allocations: 5.344 kB / 0.9587 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6157, allocations: 1.031 kB / 0.9587 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.6158, allocations: 1.094 kB / 0.9587 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.616, allocations: 43.62 kB / 0.9587 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.616, allocations: 5.062 kB / 0.9587 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.6162, allocations: 32.66 kB / 0.9587 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.6162, allocations: 13 kB / 0.9587 GB, free: 1.34 MB / 0.7169 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 7.723e-05/0.6163, allocations: 123.6 kB / 0.9589 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.6164, allocations: 10.94 kB / 0.9589 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004806/0.6169, allocations: 205.6 kB / 0.9591 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6169, allocations: 1.5 kB / 0.9591 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6169, allocations: 0.6562 kB / 0.9591 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6169, allocations: 0.7812 kB / 0.9591 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.6181, allocations: 0.9818 MB / 0.96 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6181, allocations: 0 / 0.96 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.6183, allocations: 33.81 kB / 0.9601 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.6183, allocations: 1.625 kB / 0.9601 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.6183, allocations: 6.188 kB / 0.9601 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.6183, allocations: 1.062 kB / 0.9601 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6184, allocations: 1.125 kB / 0.9601 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.6189, allocations: 294.4 kB / 0.9604 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.6189, allocations: 89.2 kB / 0.9604 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.619, allocations: 2.219 kB / 0.9604 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.6192, allocations: 18.92 kB / 0.9605 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.6192, allocations: 18.05 kB / 0.9605 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.6193, allocations: 7.703 kB / 0.9605 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.176e-05/0.6194, allocations: 118.5 kB / 0.9606 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6194, allocations: 1.125 kB / 0.9606 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004575/0.6198, allocations: 133.3 kB / 0.9607 GB, free: 15.58 MB / 0.7325 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.0004404/0.6203, allocations: 228.7 kB / 0.9609 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004688/0.6207, allocations: 179 kB / 0.9611 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6208, allocations: 0 / 0.9611 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.621, allocations: 84.88 kB / 0.9612 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.6214, allocations: 43.59 kB / 0.9612 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.6222, allocations: 384.3 kB / 0.9616 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.6224, allocations: 0.7141 MB / 0.9623 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.6226, allocations: 28.69 kB / 0.9623 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.6227, allocations: 21.06 kB / 0.9623 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.6227, allocations: 0 / 0.9623 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of Templates: time 0.007572/0.6302, allocations: 4.146 MB / 0.9664 GB, free: 12.19 MB / 0.7325 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 -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/jenkins/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