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.009425/0.009425, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001874/0.001874, allocations: 193.9 kB / 16.79 MB, free: 5.809 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.435/1.435, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.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.368/2.368, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.86, allocations: 140.4 MB / 0.9496 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.005009/0.8651, allocations: 2.081 MB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003302/0.8685, allocations: 1.737 MB / 0.9533 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.8686, allocations: 2.562 kB / 0.9533 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.566e-05/0.8687, allocations: 17.23 kB / 0.9533 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.8689, allocations: 45.89 kB / 0.9534 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.8701, allocations: 291.4 kB / 0.9537 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000271/0.8703, allocations: 213.2 kB / 0.9539 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.8705, allocations: 48.05 kB / 0.9539 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.8707, allocations: 71.83 kB / 0.954 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.8708, allocations: 84.8 kB / 0.9541 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.8709, allocations: 11.88 kB / 0.9541 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009388/0.8718, allocations: 393.4 kB / 0.9544 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.8719, allocations: 38.25 kB / 0.9545 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.872, allocations: 79.66 kB / 0.9545 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.8726, allocations: 315.5 kB / 0.9549 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8726, allocations: 1.031 kB / 0.9549 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8726, allocations: 0 / 0.9549 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.8726, allocations: 0 / 0.9549 GB, free: 5.375 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.0008779/0.8735, allocations: 0.5195 MB / 0.9554 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.8736, allocations: 9.094 kB / 0.9554 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005994/0.8742, allocations: 90.02 kB / 0.9555 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.8743, allocations: 181.3 kB / 0.9556 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.629e-05/0.8744, allocations: 46.72 kB / 0.9557 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.8744, allocations: 14.16 kB / 0.9557 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.8748, allocations: 185.7 kB / 0.9559 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.8749, allocations: 7.938 kB / 0.9559 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.8749, allocations: 6.438 kB / 0.9559 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.8749, allocations: 7.688 kB / 0.9559 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.8754, allocations: 178.6 kB / 0.9561 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.8767, allocations: 0.9173 MB / 0.9569 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.8772, allocations: 177 kB / 0.9571 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.8774, allocations: 76.08 kB / 0.9572 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005863/0.878, allocations: 0.52 MB / 0.9577 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.8781, allocations: 32 kB / 0.9577 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 2.905e-06/0.8781, allocations: 3.984 kB / 0.9577 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0007568/0.8788, allocations: 239.7 kB / 0.958 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.8789, allocations: 53.84 kB / 0.958 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.8791, allocations: 157.9 kB / 0.9582 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.8791, allocations: 35.02 kB / 0.9582 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.8792, allocations: 122.5 kB / 0.9583 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.8792, allocations: 48.8 kB / 0.9584 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.8793, allocations: 50 kB / 0.9584 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.8794, allocations: 321.6 kB / 0.9587 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.8796, allocations: 69.09 kB / 0.9588 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.8798, allocations: 97.66 kB / 0.9589 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.8802, allocations: 145.7 kB / 0.959 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8802, allocations: 9.312 kB / 0.959 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005245/0.8808, allocations: 208.9 kB / 0.9592 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.8808, allocations: 5.312 kB / 0.9592 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8808, allocations: 0 / 0.9592 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.8808, allocations: 2.312 kB / 0.9592 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.8811, allocations: 43.19 kB / 0.9593 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.8811, allocations: 1.344 kB / 0.9593 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.8814, allocations: 29.14 kB / 0.9593 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.8814, allocations: 8.391 kB / 0.9593 GB, free: 1.449 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 0.0001188/0.8815, allocations: 123.3 kB / 0.9594 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.8816, allocations: 19.66 kB / 0.9594 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.8821, allocations: 197.8 kB / 0.9596 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.8821, allocations: 2.062 kB / 0.9596 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8821, allocations: 0 / 0.9596 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8821, allocations: 1.031 kB / 0.9596 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.8834, allocations: 0.9774 MB / 0.9606 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.8835, allocations: 1.094 kB / 0.9606 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.8837, allocations: 38.06 kB / 0.9606 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.8837, allocations: 5.094 kB / 0.9606 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.8837, allocations: 2.062 kB / 0.9606 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.8837, allocations: 5 kB / 0.9606 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8837, allocations: 0.7812 kB / 0.9606 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.8843, allocations: 299 kB / 0.9609 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.8843, allocations: 88.78 kB / 0.961 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.8844, allocations: 5.125 kB / 0.961 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.8846, allocations: 12.2 kB / 0.961 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.8847, allocations: 12.98 kB / 0.961 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.8847, allocations: 11.98 kB / 0.961 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.454e-05/0.8848, allocations: 120.5 kB / 0.9612 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8848, allocations: 4 kB / 0.9612 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005603/0.8854, allocations: 130.4 kB / 0.9613 GB, free: 15.68 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.0005762/0.8859, allocations: 226.7 kB / 0.9615 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000528/0.8865, allocations: 173.9 kB / 0.9617 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8865, allocations: 1.062 kB / 0.9617 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.8867, allocations: 79.81 kB / 0.9618 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.8872, allocations: 47.5 kB / 0.9618 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.8881, allocations: 416 kB / 0.9622 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.8885, allocations: 0.7085 MB / 0.9629 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.8886, allocations: 20.47 kB / 0.9629 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.8886, allocations: 0 / 0.9629 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.008685/0.8973, allocations: 3.868 MB / 0.9667 GB, free: 12.37 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/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