Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007404/0.007404, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.0017/0.0017, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.91 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8259/0.8279, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00271/0.8307, allocations: 2.034 MB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.8328, allocations: 1.663 MB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.8329, allocations: 2.156 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.443e-05/0.833, allocations: 16.11 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.259e-05/0.8331, allocations: 48.55 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.834, allocations: 354 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.8342, allocations: 223 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.8344, allocations: 57.2 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.8345, allocations: 78.05 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.8346, allocations: 92.66 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.8347, allocations: 17.66 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007872/0.8355, allocations: 413.9 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.8355, allocations: 46.3 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/0.8356, allocations: 85.86 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006147/0.8362, allocations: 426.9 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8362, allocations: 4.812 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8363, allocations: 3.938 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.8363, allocations: 0 / 1.093 GB, free: 2.137 MB / 0.8575 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.0007343/0.837, allocations: 0.5109 MB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.837, allocations: 10.25 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006013/0.8377, allocations: 85.77 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/0.8377, allocations: 181.9 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.212e-05/0.8378, allocations: 45.14 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.8379, allocations: 19.23 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.8383, allocations: 179.8 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.8383, allocations: 4.812 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.8383, allocations: 5.562 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.8383, allocations: 3.625 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.8388, allocations: 179 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.8401, allocations: 0.9214 MB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/0.8406, allocations: 171.6 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.8408, allocations: 82.56 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/0.8414, allocations: 0.5162 MB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.8414, allocations: 44.38 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.8414, allocations: 0.9688 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0007361/0.8422, allocations: 235.1 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.8422, allocations: 53.78 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.8424, allocations: 159.2 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.8424, allocations: 31.02 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.8425, allocations: 122.5 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.8426, allocations: 49.39 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.8426, allocations: 39.25 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8427, allocations: 322.2 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.843, allocations: 71.12 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.8432, allocations: 100.6 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.8437, allocations: 148.9 kB / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.8437, allocations: 3.938 kB / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005316/0.8442, allocations: 218.2 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.8442, allocations: 10.89 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.8442, allocations: 3.984 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.8443, allocations: 2.188 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.8445, allocations: 35.62 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.8445, allocations: 1.062 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.8447, allocations: 25.39 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.8447, allocations: 8.953 kB / 1.098 GB, free: 14.63 MB / 0.8731 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.0001047/0.8449, allocations: 133 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.8449, allocations: 15.78 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005409/0.8455, allocations: 203.2 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.8455, allocations: 2.438 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.8455, allocations: 0 / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8455, allocations: 5.297 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.8469, allocations: 0.9716 MB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.8469, allocations: 5.375 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.8471, allocations: 31.77 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.8472, allocations: 1.875 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.8472, allocations: 3.391 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.8472, allocations: 1.391 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.8472, allocations: 5.094 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.8477, allocations: 290.2 kB / 1.099 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.8478, allocations: 86.67 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.8478, allocations: 6.75 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.848, allocations: 13.16 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.8481, allocations: 16.59 kB / 1.099 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.8481, allocations: 16.89 kB / 1.099 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.464e-05/0.8482, allocations: 119.8 kB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.8482, allocations: 0 / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004928/0.8487, allocations: 130 kB / 1.1 GB, free: 13.04 MB / 0.8731 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.0004324/0.8491, allocations: 229.1 kB / 1.1 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.8496, allocations: 176.5 kB / 1.1 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8497, allocations: 0 / 1.1 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.8499, allocations: 87.06 kB / 1.1 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.8503, allocations: 37.45 kB / 1.1 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/0.851, allocations: 333 kB / 1.101 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.8512, allocations: 0.7064 MB / 1.101 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.8514, allocations: 32.95 kB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.8515, allocations: 20.03 kB / 1.101 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8515, allocations: 0 / 1.101 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of Templates: time 0.009023/0.8605, allocations: 4.28 MB / 1.105 GB, free: 11.52 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches