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.001701/0.001701, allocations: 100.1 kB / 15.88 MB, free: 12 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.002029/0.002029, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.806/2.806, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 65.14 kB / 0.899 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.328, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00386/0.3319, allocations: 2.086 MB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00288/0.3348, allocations: 1.745 MB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.335, allocations: 4 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.677e-05/0.3351, allocations: 19.84 kB / 1.057 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.3353, allocations: 39.67 kB / 1.057 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.3365, allocations: 291.2 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.3368, allocations: 223.1 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.337, allocations: 41.39 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3371, allocations: 71.78 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.3373, allocations: 79.72 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.3373, allocations: 12 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009381/0.3383, allocations: 391.5 kB / 1.058 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.3384, allocations: 43.83 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.3385, allocations: 79.66 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.3391, allocations: 315.6 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3391, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3391, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3391, allocations: 0 / 1.058 GB, free: 2.918 MB / 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.001046/0.3402, allocations: 0.5148 MB / 1.059 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3402, allocations: 15.91 kB / 1.059 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006221/0.3408, allocations: 88.66 kB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.341, allocations: 184.1 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.702e-05/0.3411, allocations: 50.25 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.3412, allocations: 12.38 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.3416, allocations: 181.9 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3416, allocations: 11.94 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.3417, allocations: 12 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3417, allocations: 4 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.3421, allocations: 175.9 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.3436, allocations: 0.9111 MB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.3441, allocations: 178.5 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.3443, allocations: 79.58 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007119/0.3451, allocations: 0.5142 MB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.3451, allocations: 38.56 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.3451, allocations: 3.938 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007281/0.3459, allocations: 237.7 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3459, allocations: 55.41 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3461, allocations: 164.4 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.3461, allocations: 33.7 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.3462, allocations: 111.8 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.3463, allocations: 55.34 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.3464, allocations: 33.7 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3465, allocations: 326.8 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.3467, allocations: 71.95 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.347, allocations: 89.67 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.3474, allocations: 160.1 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3474, allocations: 3.938 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005156/0.3479, allocations: 209.4 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3479, allocations: 5.719 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3479, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.348, allocations: 8.031 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.3482, allocations: 39.91 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3482, allocations: 0 / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.3484, allocations: 27.77 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.3485, allocations: 4 kB / 1.062 GB, free: 13.94 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.0001245/0.3486, allocations: 133.7 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.3487, allocations: 15.84 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/0.3492, allocations: 194.4 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3492, allocations: 0 / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3492, allocations: 0 / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3492, allocations: 3.984 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.3508, allocations: 0.9778 MB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3508, allocations: 0 / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.351, allocations: 39.97 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.351, allocations: 0 / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.351, allocations: 8 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.351, allocations: 4 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.351, allocations: 0 / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.3516, allocations: 303.1 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.3516, allocations: 88.95 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.3517, allocations: 3.984 kB / 1.064 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.3519, allocations: 15.98 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.3519, allocations: 11.92 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.352, allocations: 4 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.851e-05/0.3521, allocations: 129.7 kB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3521, allocations: 0 / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004839/0.3526, allocations: 123.9 kB / 1.064 GB, free: 11.7 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.0005317/0.3531, allocations: 227 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.3536, allocations: 181.2 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3536, allocations: 0 / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.3538, allocations: 83.89 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.3543, allocations: 38.56 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007458/0.355, allocations: 395.8 kB / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3554, allocations: 0.7128 MB / 1.066 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.3555, allocations: 27.42 kB / 1.066 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.3555, allocations: 0 / 1.066 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of Templates: time 0.007104/0.3626, allocations: 3.841 MB / 1.07 GB, free: 6.172 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