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.0009951/0.0009951, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001255/0.001255, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.683/2.683, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 8.562 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2603, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002078/0.2624, allocations: 1.694 MB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.2648, allocations: 1.551 MB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.2649, allocations: 0 / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.057e-05/0.265, allocations: 15.91 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.612e-05/0.2651, allocations: 43.61 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008161/0.2659, allocations: 263.2 kB / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.2661, allocations: 207.1 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2662, allocations: 37.64 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.2663, allocations: 67.78 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.2665, allocations: 83.72 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.2665, allocations: 12 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007055/0.2672, allocations: 375.5 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.2673, allocations: 27.91 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.2673, allocations: 57.64 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.2677, allocations: 315.5 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2677, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2677, allocations: 4 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2677, allocations: 0 / 1.063 GB, free: 0.5352 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.0008064/0.2685, allocations: 491 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2686, allocations: 12.02 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.2691, allocations: 103.7 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2692, allocations: 182.9 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/0.2693, allocations: 53.64 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.2694, allocations: 12 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.2698, allocations: 193.4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2698, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.2698, allocations: 4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2698, allocations: 4 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.2703, allocations: 187.9 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.2716, allocations: 0.9072 MB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.2721, allocations: 186.5 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.2723, allocations: 84.81 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005832/0.2729, allocations: 0.522 MB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.2729, allocations: 34.55 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.2729, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006884/0.2736, allocations: 252.6 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.2736, allocations: 55.41 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2738, allocations: 163.8 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.2738, allocations: 29.7 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.2739, allocations: 119.8 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.2739, allocations: 43.36 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.274, allocations: 12 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.2741, allocations: 322.8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.2743, allocations: 75.95 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.2745, allocations: 95.05 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.2747, allocations: 81.47 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2747, allocations: 0 / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004841/0.2752, allocations: 229.3 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2752, allocations: 4 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2752, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2752, allocations: 4 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.2755, allocations: 39.91 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.2755, allocations: 11.95 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.2757, allocations: 23.83 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.2757, allocations: 8 kB / 1.067 GB, free: 11.64 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.2758, allocations: 129.8 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.2759, allocations: 11.91 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005034/0.2764, allocations: 206.3 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2764, allocations: 4 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2764, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2764, allocations: 3.953 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.2778, allocations: 0.9896 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2778, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.278, allocations: 32.05 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.278, allocations: 3.938 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.278, allocations: 15.94 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.278, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.278, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.2785, allocations: 293 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.2785, allocations: 92.94 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.2786, allocations: 8 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2788, allocations: 15.94 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.2788, allocations: 19.98 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2789, allocations: 11.92 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.559e-05/0.279, allocations: 118.1 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.279, allocations: 0 / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004394/0.2794, allocations: 127.8 kB / 1.069 GB, free: 9.375 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004072/0.2798, allocations: 223 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004599/0.2803, allocations: 186.4 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2803, allocations: 7.938 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.2805, allocations: 79.91 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.2809, allocations: 48.16 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/0.2815, allocations: 371.8 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.2818, allocations: 0.7128 MB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.2819, allocations: 24.92 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.282, allocations: 23.44 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of SimCode: time 1.493e-06/0.282, allocations: 0 / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of Templates: time 0.007596/0.2896, allocations: 4.056 MB / 1.075 GB, free: 3.648 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