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 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,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.0009387/0.0009386, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006664/0.006664, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004812, allocations: 8.844 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3472, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002514/0.3497, allocations: 1.744 MB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002897/0.3527, allocations: 1.706 MB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.3528, allocations: 0 / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.516e-05/0.3529, allocations: 15.91 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.3532, allocations: 43.61 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.3547, allocations: 295.2 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.3551, allocations: 215.1 kB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.3553, allocations: 41.38 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.3555, allocations: 71.77 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.3557, allocations: 71.75 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.3557, allocations: 19.94 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.3569, allocations: 391.5 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.3569, allocations: 31.84 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.3571, allocations: 109.3 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006352/0.3577, allocations: 415.2 kB / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3577, allocations: 0 / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3577, allocations: 0 / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3577, allocations: 4 kB / 1.064 GB, free: 304 kB / 0.8106 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.0008847/0.3586, allocations: 495.2 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3587, allocations: 8.031 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006083/0.3593, allocations: 104.7 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.3595, allocations: 188.1 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.779e-05/0.3596, allocations: 46.27 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.3596, allocations: 16.38 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.36, allocations: 191 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3601, allocations: 11.88 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.3601, allocations: 4 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.3601, allocations: 4 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.3606, allocations: 195.9 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.3623, allocations: 0.8994 MB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.3629, allocations: 190.5 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.3632, allocations: 84.81 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000764/0.3639, allocations: 0.5259 MB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.364, allocations: 30.56 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.364, allocations: 0 / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007767/0.3648, allocations: 253.8 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.3648, allocations: 55.34 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.365, allocations: 161.3 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.3651, allocations: 29.7 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3652, allocations: 119.7 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.3653, allocations: 43.39 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.3653, allocations: 21.72 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3655, allocations: 326.8 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.3657, allocations: 75.95 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.3659, allocations: 99.2 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.3663, allocations: 162.8 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.3664, allocations: 3.938 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005333/0.3669, allocations: 230.9 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3669, allocations: 4 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3669, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.367, allocations: 4 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.3672, allocations: 39.91 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3672, allocations: 3.984 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.3674, allocations: 39.78 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.3675, allocations: 7.984 kB / 1.068 GB, free: 11.27 MB / 0.8262 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.3676, allocations: 125.8 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.3676, allocations: 15.81 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/0.3682, allocations: 205.6 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3682, allocations: 4 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3682, allocations: 0 / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3682, allocations: 0 / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.3697, allocations: 0.9856 MB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3697, allocations: 4.062 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.3699, allocations: 35.91 kB / 1.07 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3699, allocations: 0 / 1.07 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.37, allocations: 8 kB / 1.07 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.37, allocations: 0 / 1.07 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.37, allocations: 4 kB / 1.07 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.3705, allocations: 297 kB / 1.07 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.3706, allocations: 96.84 kB / 1.07 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.3706, allocations: 4 kB / 1.07 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3709, allocations: 27.97 kB / 1.07 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.3709, allocations: 19.86 kB / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.3709, allocations: 4 kB / 1.07 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001043/0.3711, allocations: 122.3 kB / 1.07 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3711, allocations: 0 / 1.07 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005019/0.3716, allocations: 123.9 kB / 1.07 GB, free: 9.004 MB / 0.8262 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.0004574/0.372, allocations: 227 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.3725, allocations: 183.8 kB / 1.071 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3725, allocations: 0 / 1.071 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.3728, allocations: 87.89 kB / 1.071 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.3732, allocations: 48.11 kB / 1.071 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006829/0.3739, allocations: 385.6 kB / 1.071 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3742, allocations: 0.7166 MB / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.3744, allocations: 31.67 kB / 1.072 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.3745, allocations: 15.44 kB / 1.072 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3745, allocations: 0 / 1.072 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of Templates: time 0.008326/0.3828, allocations: 4.124 MB / 1.076 GB, free: 3.184 MB / 0.8262 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/jenkins/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