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.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,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.00141/0.00141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001805/0.001805, allocations: 189.4 kB / 16.13 MB, free: 6.645 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.504 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.294/2.294, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5745/0.5757, allocations: 140.4 MB / 0.9489 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003111/0.5788, allocations: 2.089 MB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.581, allocations: 1.741 MB / 0.9527 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.5811, allocations: 2.469 kB / 0.9527 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.329e-05/0.5812, allocations: 13.44 kB / 0.9527 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.755e-05/0.5813, allocations: 41.03 kB / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008525/0.5822, allocations: 295.8 kB / 0.953 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.5824, allocations: 213.7 kB / 0.9532 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.5825, allocations: 46.83 kB / 0.9532 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.087e-05/0.5826, allocations: 80.66 kB / 0.9533 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.5828, allocations: 81.34 kB / 0.9534 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.5828, allocations: 11.28 kB / 0.9534 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.5835, allocations: 389.3 kB / 0.9538 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.5836, allocations: 34.19 kB / 0.9538 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.5836, allocations: 80.47 kB / 0.9539 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.5842, allocations: 427.5 kB / 0.9543 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5842, allocations: 1.344 kB / 0.9543 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.91e-07/0.5842, allocations: 0 / 0.9543 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.5842, allocations: 0 / 0.9543 GB, free: 5.016 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.0007854/0.585, allocations: 0.5153 MB / 0.9548 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5851, allocations: 9.375 kB / 0.9548 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006078/0.5857, allocations: 93.67 kB / 0.9549 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.939e-05/0.5858, allocations: 176.9 kB / 0.9551 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.5858, allocations: 51.31 kB / 0.9551 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.5859, allocations: 21.66 kB / 0.9551 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.5863, allocations: 178.5 kB / 0.9553 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5863, allocations: 3.938 kB / 0.9553 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.5863, allocations: 6.094 kB / 0.9553 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.5864, allocations: 3.062 kB / 0.9553 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.5868, allocations: 180 kB / 0.9555 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.588, allocations: 0.9274 MB / 0.9564 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.5884, allocations: 176.3 kB / 0.9566 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.5886, allocations: 77.48 kB / 0.9566 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/0.5893, allocations: 0.5207 MB / 0.9571 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.5893, allocations: 32.06 kB / 0.9572 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.5893, allocations: 0 / 0.9572 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0007192/0.59, allocations: 243.3 kB / 0.9574 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.5901, allocations: 56.78 kB / 0.9575 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.5902, allocations: 154.7 kB / 0.9576 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.5902, allocations: 31.08 kB / 0.9576 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.5903, allocations: 126.5 kB / 0.9578 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.5903, allocations: 44.8 kB / 0.9578 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.5904, allocations: 38.08 kB / 0.9578 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.5905, allocations: 321.6 kB / 0.9581 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.5907, allocations: 81.08 kB / 0.9582 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.5909, allocations: 96.47 kB / 0.9583 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.5913, allocations: 142.8 kB / 0.9584 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.5913, allocations: 3.938 kB / 0.9585 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004871/0.5918, allocations: 214.7 kB / 0.9587 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.5918, allocations: 5.625 kB / 0.9587 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5918, allocations: 0 / 0.9587 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5918, allocations: 1.469 kB / 0.9587 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.5921, allocations: 39.62 kB / 0.9587 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.5921, allocations: 2.125 kB / 0.9587 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.5923, allocations: 31.67 kB / 0.9587 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.5923, allocations: 8.766 kB / 0.9587 GB, free: 1.098 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 8.698e-05/0.5924, allocations: 135.6 kB / 0.9589 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.5925, allocations: 11.38 kB / 0.9589 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004926/0.593, allocations: 198.4 kB / 0.9591 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.593, allocations: 2.219 kB / 0.9591 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.593, allocations: 0 / 0.9591 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.593, allocations: 1.156 kB / 0.9591 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.5943, allocations: 0.9771 MB / 0.96 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5943, allocations: 5.094 kB / 0.96 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.5945, allocations: 34.28 kB / 0.9601 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5946, allocations: 1.375 kB / 0.9601 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.5946, allocations: 1.375 kB / 0.9601 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5946, allocations: 1.375 kB / 0.9601 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5946, allocations: 1.438 kB / 0.9601 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/0.5951, allocations: 301.2 kB / 0.9604 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.5952, allocations: 89.38 kB / 0.9604 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.5952, allocations: 6.25 kB / 0.9605 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.5954, allocations: 19.42 kB / 0.9605 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.5955, allocations: 17.55 kB / 0.9605 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.5955, allocations: 3.438 kB / 0.9605 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.928e-05/0.5956, allocations: 124 kB / 0.9606 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5956, allocations: 0 / 0.9606 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005172/0.5961, allocations: 126.2 kB / 0.9607 GB, free: 15.32 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.0004739/0.5966, allocations: 222.3 kB / 0.9609 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005525/0.5972, allocations: 181.6 kB / 0.9611 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5972, allocations: 5.125 kB / 0.9611 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.5974, allocations: 83.88 kB / 0.9612 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.5979, allocations: 43.62 kB / 0.9612 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007287/0.5986, allocations: 363.2 kB / 0.9616 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.5989, allocations: 0.7133 MB / 0.9623 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001743/0.5991, allocations: 33.59 kB / 0.9623 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/0.5991, allocations: 18.56 kB / 0.9623 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.5991, allocations: 0 / 0.9623 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.008443/0.6076, allocations: 4.14 MB / 0.9664 GB, free: 11.94 MB / 0.7325 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 -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/jenkins/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