Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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,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") 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_latest_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.001428/0.001428, allocations: 104.5 kB / 15.99 MB, free: 5.891 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.001331/0.001331, allocations: 189.5 kB / 16.91 MB, free: 5.746 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.468/1.468, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.124/3.124, allocations: 482.2 MB / 0.7548 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 61.47 kB / 0.9238 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3375, allocations: 162.2 MB / 1.082 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004034/0.3415, allocations: 2.093 MB / 1.084 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.3443, allocations: 1.651 MB / 1.086 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.3445, allocations: 4 kB / 1.086 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.391e-05/0.3446, allocations: 11.91 kB / 1.086 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.3447, allocations: 47.61 kB / 1.086 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.3459, allocations: 327.1 kB / 1.086 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000257/0.3461, allocations: 211.2 kB / 1.086 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.3463, allocations: 57.23 kB / 1.086 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3465, allocations: 83.72 kB / 1.087 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.3466, allocations: 87.73 kB / 1.087 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.3467, allocations: 19.94 kB / 1.087 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007898/0.3475, allocations: 419.5 kB / 1.087 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.3475, allocations: 35.91 kB / 1.087 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.59e-05/0.3476, allocations: 87.66 kB / 1.087 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.3481, allocations: 319.6 kB / 1.087 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3481, allocations: 0 / 1.087 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3481, allocations: 0 / 1.087 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3481, allocations: 0 / 1.087 GB, free: 8.395 MB / 0.8419 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.0009023/0.349, allocations: 0.5242 MB / 1.088 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3491, allocations: 8.031 kB / 1.088 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/0.3497, allocations: 92.64 kB / 1.088 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3498, allocations: 176.2 kB / 1.088 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.229e-05/0.3499, allocations: 50.25 kB / 1.088 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.35, allocations: 12.38 kB / 1.088 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.3504, allocations: 178 kB / 1.088 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3504, allocations: 3.938 kB / 1.088 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.3505, allocations: 16 kB / 1.088 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3505, allocations: 4 kB / 1.088 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.3509, allocations: 179.8 kB / 1.089 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.3525, allocations: 0.9034 MB / 1.09 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.353, allocations: 170.5 kB / 1.09 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.3532, allocations: 80.83 kB / 1.09 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007182/0.3539, allocations: 0.522 MB / 1.09 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.3539, allocations: 38.56 kB / 1.09 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.354, allocations: 0 / 1.09 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0007183/0.3547, allocations: 237.7 kB / 1.091 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.3547, allocations: 55.41 kB / 1.091 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3549, allocations: 158.4 kB / 1.091 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.355, allocations: 29.7 kB / 1.091 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.355, allocations: 115.8 kB / 1.091 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.3551, allocations: 47.36 kB / 1.091 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.3552, allocations: 41.7 kB / 1.091 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3553, allocations: 322.8 kB / 1.091 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.3556, allocations: 75.95 kB / 1.091 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.3558, allocations: 97.59 kB / 1.091 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.3562, allocations: 151.5 kB / 1.092 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.3562, allocations: 3.938 kB / 1.092 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005054/0.3567, allocations: 215.1 kB / 1.092 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3567, allocations: 4 kB / 1.092 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3568, allocations: 0 / 1.092 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3568, allocations: 4.031 kB / 1.092 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.357, allocations: 39.97 kB / 1.092 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3571, allocations: 0 / 1.092 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.3572, allocations: 31.7 kB / 1.092 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3573, allocations: 7.984 kB / 1.092 GB, free: 3.426 MB / 0.8419 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.0001301/0.3574, allocations: 125.8 kB / 1.092 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.3575, allocations: 19.8 kB / 1.092 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/0.358, allocations: 209.6 kB / 1.092 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.358, allocations: 0 / 1.092 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.358, allocations: 0 / 1.092 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.358, allocations: 0 / 1.092 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.3596, allocations: 0.9778 MB / 1.093 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3596, allocations: 0 / 1.093 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.3598, allocations: 36.03 kB / 1.093 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3598, allocations: 0 / 1.093 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.3599, allocations: 8 kB / 1.093 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3599, allocations: 0 / 1.093 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3599, allocations: 3.938 kB / 1.093 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.3604, allocations: 293 kB / 1.093 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.3605, allocations: 96.84 kB / 1.094 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.3605, allocations: 0 / 1.094 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.3607, allocations: 15.98 kB / 1.094 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.3608, allocations: 11.92 kB / 1.094 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3608, allocations: 4 kB / 1.094 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000101/0.3609, allocations: 126.1 kB / 1.094 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3609, allocations: 7.938 kB / 1.094 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004717/0.3614, allocations: 123.9 kB / 1.094 GB, free: 1.176 MB / 0.8419 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.0004772/0.3619, allocations: 223 kB / 1.094 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005096/0.3624, allocations: 183.8 kB / 1.094 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3624, allocations: 0 / 1.094 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.3626, allocations: 79.91 kB / 1.094 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.3631, allocations: 48.09 kB / 1.094 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007412/0.3638, allocations: 398.2 kB / 1.095 GB, free: 224 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.3642, allocations: 0.7164 MB / 1.095 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.3643, allocations: 23.42 kB / 1.095 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3643, allocations: 0 / 1.095 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.006719/0.3711, allocations: 3.856 MB / 1.099 GB, free: 11.63 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches