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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001058/0.001058, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001424, allocations: 183.3 kB / 16.92 MB, free: 6.926 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.809/2.809, allocations: 462.7 MB / 0.7371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 12.72 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.343, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002243/0.3453, allocations: 1.736 MB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.3477, allocations: 1.716 MB / 1.063 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.3478, allocations: 0 / 1.063 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.798e-05/0.3478, allocations: 7.922 kB / 1.063 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.348, allocations: 51.61 kB / 1.063 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/0.3489, allocations: 295.2 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.3492, allocations: 211.1 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3494, allocations: 45.38 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.3495, allocations: 67.78 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3497, allocations: 87.66 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.3497, allocations: 12 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008627/0.3506, allocations: 383.5 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.3506, allocations: 35.84 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3508, allocations: 109.3 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.3513, allocations: 307.5 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3513, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3513, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3513, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 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.0008664/0.3522, allocations: 0.4914 MB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3522, allocations: 11.97 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000608/0.3529, allocations: 104.6 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.353, allocations: 188.1 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.754e-05/0.3531, allocations: 42.27 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.3531, allocations: 16.38 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.3536, allocations: 186 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3536, allocations: 7.938 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.3536, allocations: 8 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3536, allocations: 4 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.3541, allocations: 183.9 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.3556, allocations: 0.9149 MB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.3561, allocations: 186.5 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.3563, allocations: 84.81 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006206/0.3569, allocations: 0.522 MB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.357, allocations: 34.56 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.923e-06/0.357, allocations: 3.938 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007228/0.3577, allocations: 249.8 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.3578, allocations: 55.41 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3579, allocations: 155.8 kB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.358, allocations: 37.7 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.358, allocations: 119.7 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.3581, allocations: 39.45 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.3581, allocations: 21.72 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3583, allocations: 322.8 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.3585, allocations: 75.97 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.3587, allocations: 107 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.3591, allocations: 159 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3591, allocations: 3.938 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000516/0.3596, allocations: 218.9 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3597, allocations: 8 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3597, allocations: 0 / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3597, allocations: 4.031 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.3599, allocations: 39.97 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.36, allocations: 0 / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.3602, allocations: 31.77 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.3602, allocations: 11.92 kB / 1.069 GB, free: 10.88 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.0001117/0.3603, allocations: 121.8 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.3604, allocations: 19.81 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.3609, allocations: 213.3 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3609, allocations: 0 / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3609, allocations: 8 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3609, allocations: 0 / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.3624, allocations: 0.9895 MB / 1.07 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3624, allocations: 0 / 1.07 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.3626, allocations: 31.97 kB / 1.07 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3626, allocations: 0 / 1.07 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3626, allocations: 8 kB / 1.07 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3626, allocations: 64 / 1.07 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3627, allocations: 7.938 kB / 1.07 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.3631, allocations: 293 kB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.3632, allocations: 96.84 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.3633, allocations: 8 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3635, allocations: 15.97 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.3635, allocations: 19.92 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.3635, allocations: 4 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.3636, allocations: 118.1 kB / 1.071 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3636, allocations: 4 kB / 1.071 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004642/0.3641, allocations: 127.9 kB / 1.071 GB, free: 8.609 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.0004851/0.3646, allocations: 234.9 kB / 1.071 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004999/0.3651, allocations: 183.8 kB / 1.071 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3651, allocations: 0 / 1.071 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.3653, allocations: 96.12 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.3658, allocations: 37.36 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.3665, allocations: 419.2 kB / 1.072 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3668, allocations: 0.7128 MB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.3669, allocations: 23.42 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of SimCode: time 4.3e-07/0.3669, allocations: 4 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of Templates: time 0.006892/0.3738, allocations: 3.839 MB / 1.076 GB, free: 3.035 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/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