Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001486/0.001487, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00159/0.00159, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.408/1.408, 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 11.0.1-master/package.mo): time 2.654/2.654, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9564/0.9578, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00365/0.9615, allocations: 2.029 MB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.9642, allocations: 1.666 MB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.9644, allocations: 0 / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.569e-05/0.9645, allocations: 23.8 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.9647, allocations: 47.55 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.9661, allocations: 362.8 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.9664, allocations: 219.1 kB / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.9666, allocations: 45.45 kB / 1.213 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.9668, allocations: 87.77 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.967, allocations: 87.73 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.967, allocations: 16 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009928/0.968, allocations: 415.5 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.9681, allocations: 39.84 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.64e-05/0.9682, allocations: 83.66 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008509/0.9691, allocations: 432.7 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.9691, allocations: 3.984 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9691, allocations: 0 / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.9691, allocations: 0 / 1.214 GB, free: 8.113 MB / 0.9356 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.001022/0.9701, allocations: 0.5147 MB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.9702, allocations: 12.03 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006418/0.9708, allocations: 92.58 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.971, allocations: 180.2 kB / 1.215 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.27e-05/0.9711, allocations: 46.27 kB / 1.215 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.9712, allocations: 16.38 kB / 1.215 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.9716, allocations: 182 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.9717, allocations: 7.938 kB / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.9717, allocations: 4 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.9717, allocations: 4 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.9722, allocations: 179.9 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.9737, allocations: 0.915 MB / 1.216 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.9743, allocations: 170.5 kB / 1.216 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.9745, allocations: 76.83 kB / 1.216 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007099/0.9752, allocations: 0.522 MB / 1.217 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.9752, allocations: 38.56 kB / 1.217 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.9752, allocations: 0 / 1.217 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0007668/0.976, allocations: 241.6 kB / 1.217 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.9761, allocations: 55.41 kB / 1.217 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.9762, allocations: 156.7 kB / 1.217 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.9763, allocations: 29.7 kB / 1.217 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.017e-05/0.9764, allocations: 115.8 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.9764, allocations: 51.23 kB / 1.217 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.9765, allocations: 41.7 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.9766, allocations: 322.8 kB / 1.218 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.9769, allocations: 75.95 kB / 1.218 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.9771, allocations: 91.05 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.9775, allocations: 152 kB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.9775, allocations: 3.938 kB / 1.218 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000518/0.978, allocations: 217.3 kB / 1.218 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.9781, allocations: 4 kB / 1.218 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9781, allocations: 0 / 1.218 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.9781, allocations: 8 kB / 1.218 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.9784, allocations: 44 kB / 1.218 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.9784, allocations: 0 / 1.218 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.9786, allocations: 19.83 kB / 1.218 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.9786, allocations: 8 kB / 1.218 GB, free: 3.148 MB / 0.9356 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.0001442/0.9788, allocations: 131.2 kB / 1.218 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.9788, allocations: 19.8 kB / 1.218 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005377/0.9794, allocations: 190.4 kB / 1.219 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9794, allocations: 0 / 1.219 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.9794, allocations: 0 / 1.219 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.9794, allocations: 3.984 kB / 1.219 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.9809, allocations: 0.9893 MB / 1.22 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.9809, allocations: 3.938 kB / 1.22 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.9811, allocations: 31.97 kB / 1.22 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.9811, allocations: 4.062 kB / 1.22 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.9811, allocations: 8 kB / 1.22 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9811, allocations: 0 / 1.22 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.9811, allocations: 3.984 kB / 1.22 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.9816, allocations: 296.6 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.9817, allocations: 85.02 kB / 1.22 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.9817, allocations: 7.984 kB / 1.22 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.982, allocations: 11.98 kB / 1.22 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.982, allocations: 15.92 kB / 1.22 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.982, allocations: 4 kB / 1.22 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.779e-05/0.9821, allocations: 119.2 kB / 1.22 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9821, allocations: 0 / 1.22 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004736/0.9826, allocations: 135.8 kB / 1.22 GB, free: 0.8906 MB / 0.9356 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.0004755/0.9831, allocations: 238.9 kB / 1.22 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005082/0.9836, allocations: 167.9 kB / 1.221 GB, free: 496 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.9836, allocations: 0 / 1.221 GB, free: 496 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.9838, allocations: 83.89 kB / 1.221 GB, free: 412 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.9843, allocations: 46.19 kB / 1.221 GB, free: 368 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.9851, allocations: 364.8 kB / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.9854, allocations: 0.7124 MB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.793e-05/0.9855, allocations: 27.42 kB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.9855, allocations: 4 kB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of Templates: time 0.007259/0.9928, allocations: 3.869 MB / 1.226 GB, free: 11.37 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches