Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002018/0.002018, allocations: 193.5 kB / 16.13 MB, free: 6.645 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.497/2.497, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6234/0.6246, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003425/0.6281, allocations: 2.1 MB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.6307, allocations: 1.752 MB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.6308, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.749e-05/0.6309, allocations: 15.91 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.631, allocations: 43.61 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.632, allocations: 295 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.6322, allocations: 223.1 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.6324, allocations: 37.53 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.6325, allocations: 79.77 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.6327, allocations: 91.66 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.6328, allocations: 16 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008266/0.6336, allocations: 387.5 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.6337, allocations: 39.89 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.6338, allocations: 83.66 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000625/0.6344, allocations: 432.9 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6344, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6344, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.6345, allocations: 0 / 1.022 GB, free: 13.18 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.0009057/0.6354, allocations: 0.5186 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6354, allocations: 15.97 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.6366, allocations: 136.6 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.6368, allocations: 184.1 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.453e-05/0.6369, allocations: 50.25 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.6369, allocations: 20.38 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.6375, allocations: 217.8 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6375, allocations: 7.875 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.6375, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6375, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007348/0.6383, allocations: 235.9 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.6398, allocations: 0.9661 MB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.6403, allocations: 178.6 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.6406, allocations: 117.1 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/0.6412, allocations: 0.522 MB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.6413, allocations: 42.5 kB / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.6413, allocations: 0 / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001174/0.6425, allocations: 321.3 kB / 1.025 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.6425, allocations: 59.41 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.6427, allocations: 160.1 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.6427, allocations: 33.69 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.6428, allocations: 112.2 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.6428, allocations: 59.19 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.6429, allocations: 41.7 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.643, allocations: 322.8 kB / 1.026 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.6434, allocations: 103.9 kB / 1.026 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.6438, allocations: 134.3 kB / 1.026 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.6444, allocations: 192.5 kB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6445, allocations: 0 / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000796/0.6453, allocations: 275.8 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.6453, allocations: 4 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6453, allocations: 0 / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.6453, allocations: 4 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.6457, allocations: 55.89 kB / 1.027 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6457, allocations: 3.938 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.646, allocations: 35.81 kB / 1.027 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.646, allocations: 8 kB / 1.027 GB, free: 7.676 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.0001214/0.6462, allocations: 126.3 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.6462, allocations: 11.81 kB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008265/0.6471, allocations: 276.4 kB / 1.027 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6471, allocations: 7.922 kB / 1.027 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.6471, allocations: 4 kB / 1.027 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6471, allocations: 3.984 kB / 1.027 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.6489, allocations: 1.062 MB / 1.028 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6489, allocations: 3.938 kB / 1.028 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.6493, allocations: 40.03 kB / 1.028 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.6493, allocations: 8 kB / 1.028 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.6493, allocations: 4 kB / 1.028 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.6493, allocations: 11.92 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6493, allocations: 0 / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007942/0.6501, allocations: 341 kB / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.6502, allocations: 96.8 kB / 1.029 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.6503, allocations: 11.98 kB / 1.029 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.6506, allocations: 19.98 kB / 1.029 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.6507, allocations: 15.97 kB / 1.029 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.6507, allocations: 4 kB / 1.029 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001047/0.6508, allocations: 125.3 kB / 1.029 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.673e-06/0.6508, allocations: 0 / 1.029 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005714/0.6514, allocations: 135.8 kB / 1.029 GB, free: 5.18 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.0005186/0.6519, allocations: 223 kB / 1.029 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008007/0.6527, allocations: 225.6 kB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6527, allocations: 4 kB / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.6531, allocations: 112.1 kB / 1.03 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.6536, allocations: 43.91 kB / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.6558, allocations: 0.5254 MB / 1.03 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.656, allocations: 0.7089 MB / 1.031 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.6563, allocations: 33.48 kB / 1.031 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.6564, allocations: 27.36 kB / 1.031 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6564, allocations: 0 / 1.031 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of Templates: time 0.008316/0.6647, allocations: 4.387 MB / 1.035 GB, free: 14.87 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches