Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001417/0.001417, allocations: 195 kB / 16.26 MB, free: 6.629 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.502/1.502, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.859/2.859, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002663, allocations: 67.89 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.6462, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003513/0.6497, allocations: 2.1 MB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002551/0.6523, allocations: 1.656 MB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.6524, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.089e-05/0.6525, allocations: 11.91 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.6526, allocations: 47.61 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009719/0.6536, allocations: 323.2 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.6538, allocations: 223.2 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.654, allocations: 53.52 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.6542, allocations: 87.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.6543, allocations: 91.67 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.6544, allocations: 20 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007862/0.6552, allocations: 415.5 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.6552, allocations: 43.91 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.76e-05/0.6553, allocations: 87.66 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.6559, allocations: 440.9 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.656, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.656, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.656, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009619/0.6569, allocations: 0.5264 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.657, allocations: 8.031 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.6582, allocations: 136.6 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.6584, allocations: 188 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-05/0.6585, allocations: 50.25 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.6585, allocations: 16.31 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.6591, allocations: 221.8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.6592, allocations: 3.938 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.6592, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.6592, allocations: 11.94 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007681/0.66, allocations: 231.9 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.6616, allocations: 0.9739 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.6621, allocations: 178.6 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.6625, allocations: 117.1 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007713/0.6633, allocations: 0.5181 MB / 1.025 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.6633, allocations: 38.56 kB / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.737e-06/0.6633, allocations: 0 / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001181/0.6645, allocations: 331.5 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.6646, allocations: 59.41 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.6648, allocations: 160.5 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.6648, allocations: 33.7 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.6649, allocations: 112.2 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.665, allocations: 55.2 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-05/0.6651, allocations: 37.7 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6652, allocations: 322.8 kB / 1.026 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.6656, allocations: 107.9 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.666, allocations: 129.2 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006606/0.6667, allocations: 193.6 kB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6667, allocations: 0 / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008312/0.6675, allocations: 279.4 kB / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6675, allocations: 7.984 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6675, allocations: 0 / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.6676, allocations: 0 / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.6679, allocations: 47.91 kB / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.668, allocations: 4 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.6683, allocations: 35.81 kB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.6683, allocations: 11.94 kB / 1.027 GB, free: 7.621 MB / 0.7794 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 (22): * Single equations (assignments): 22 * 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.000146/0.6684, allocations: 125.8 kB / 1.027 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.6685, allocations: 15.81 kB / 1.027 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.6694, allocations: 266.7 kB / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.6694, allocations: 7.922 kB / 1.028 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6694, allocations: 3.938 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6694, allocations: 0 / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.6714, allocations: 1.062 MB / 1.029 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.6714, allocations: 7.938 kB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.6717, allocations: 35.97 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.6718, allocations: 4.062 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.6718, allocations: 15.92 kB / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.6718, allocations: 4 kB / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/0.6718, allocations: 7.938 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.6726, allocations: 346.6 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.6727, allocations: 100.8 kB / 1.029 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.6728, allocations: 8 kB / 1.029 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.6731, allocations: 19.97 kB / 1.029 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.6731, allocations: 15.98 kB / 1.029 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.6732, allocations: 4 kB / 1.029 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001052/0.6733, allocations: 120.9 kB / 1.029 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6733, allocations: 0 / 1.029 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004796/0.6738, allocations: 131.9 kB / 1.029 GB, free: 5.129 MB / 0.7794 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 (16): * Single equations (assignments): 16 * 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.0004703/0.6742, allocations: 231.5 kB / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000809/0.6751, allocations: 231.8 kB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6751, allocations: 0 / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.6755, allocations: 112.1 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.676, allocations: 51.83 kB / 1.03 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.6776, allocations: 476.3 kB / 1.03 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.678, allocations: 0.7125 MB / 1.031 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002153/0.6782, allocations: 37.67 kB / 1.031 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.665e-05/0.6783, allocations: 23.38 kB / 1.031 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6783, allocations: 0 / 1.031 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of Templates: time 0.009121/0.6874, allocations: 4.533 MB / 1.036 GB, free: 14.73 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches