Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 91.38 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.001485/0.001485, 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.361/1.361, allocations: 223.3 MB / 240 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.721/2.721, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 7.719 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.252, allocations: 159.6 MB / 1.058 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002142/0.2542, allocations: 1.694 MB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.2565, allocations: 1.555 MB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.2566, allocations: 4 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.073e-05/0.2566, allocations: 11.92 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2567, allocations: 43.61 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009291/0.2577, allocations: 263.2 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.2579, allocations: 211.1 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.258, allocations: 33.66 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2582, allocations: 71.77 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.2583, allocations: 75.75 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.2584, allocations: 12 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007974/0.2592, allocations: 383.5 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.2592, allocations: 35.91 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.2593, allocations: 49.64 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.2597, allocations: 315.5 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2597, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2597, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2597, allocations: 0 / 1.063 GB, free: 0.6367 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.0007436/0.2605, allocations: 495 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2605, allocations: 8.031 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005394/0.2611, allocations: 103.8 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2612, allocations: 178.8 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.104e-05/0.2613, allocations: 49.64 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.2613, allocations: 19.94 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.2617, allocations: 185.4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2617, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.2618, allocations: 11.94 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2618, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.2622, allocations: 195.8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.2635, allocations: 0.9149 MB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.264, allocations: 182.6 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.2642, allocations: 84.83 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005998/0.2648, allocations: 0.5181 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.2648, allocations: 38.56 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.674e-06/0.2649, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006931/0.2656, allocations: 254.6 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.2656, allocations: 59.41 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2658, allocations: 156 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.2658, allocations: 29.7 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.175e-05/0.2659, allocations: 119.8 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.2659, allocations: 43.34 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.2659, allocations: 8 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2661, allocations: 322.8 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.2663, allocations: 83.95 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2665, allocations: 95.56 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.2667, allocations: 71.97 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2667, allocations: 4 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000486/0.2672, allocations: 222.4 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2672, allocations: 5.875 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2672, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2672, allocations: 4 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.2675, allocations: 43.94 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.2675, allocations: 11.89 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.2677, allocations: 23.83 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.2677, allocations: 7.984 kB / 1.067 GB, free: 11.74 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.0001166/0.2678, allocations: 125.8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.2679, allocations: 11.91 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005082/0.2684, allocations: 207.6 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2684, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2684, allocations: 4 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2684, allocations: 3.953 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.2698, allocations: 0.978 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2698, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.27, allocations: 39.91 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.27, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.2701, allocations: 7.953 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2701, allocations: 3.938 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2701, allocations: 4.062 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.2705, allocations: 293 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.2706, allocations: 100.9 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.2707, allocations: 4 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2709, allocations: 23.92 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.2709, allocations: 15.92 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.2709, allocations: 4 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.118e-05/0.271, allocations: 118.9 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2711, allocations: 4 kB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004575/0.2715, allocations: 127.8 kB / 1.069 GB, free: 9.477 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.0004626/0.272, allocations: 233 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.2725, allocations: 182.2 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2725, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.2727, allocations: 92.19 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.2731, allocations: 40.17 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007234/0.2738, allocations: 397.5 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.2741, allocations: 0.7089 MB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.2743, allocations: 29.05 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.448e-05/0.2743, allocations: 23.42 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.2743, allocations: 4 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of Templates: time 0.007676/0.282, allocations: 4.055 MB / 1.075 GB, free: 3.746 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches