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.001608/0.001608, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.533/2.533, allocations: 437 MB / 0.7103 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.89 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.563/0.5643, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003313/0.5677, allocations: 2.039 MB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.5701, allocations: 1.664 MB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.5702, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.5703, allocations: 19.78 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.5704, allocations: 51.55 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.5715, allocations: 366.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.5717, allocations: 223.1 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.5719, allocations: 53.52 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.572, allocations: 83.78 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.5722, allocations: 95.66 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.5722, allocations: 23.98 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008808/0.5731, allocations: 395.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.5732, allocations: 35.91 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.5733, allocations: 99.64 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008086/0.5742, allocations: 432.8 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.5742, allocations: 4 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.906e-06/0.5742, allocations: 0 / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.5742, allocations: 0 / 1.023 GB, free: 12.9 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.001067/0.5753, allocations: 0.5225 MB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5753, allocations: 12.03 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.5765, allocations: 140.6 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.5767, allocations: 184 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.443e-05/0.5768, allocations: 46.25 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.5769, allocations: 20.38 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/0.5775, allocations: 217.8 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5775, allocations: 3.938 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.5775, allocations: 8 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5776, allocations: 3.938 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.5783, allocations: 235.9 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.58, allocations: 0.9622 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.5805, allocations: 190.6 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.5809, allocations: 113 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/0.5816, allocations: 0.5259 MB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.5816, allocations: 34.56 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.5816, allocations: 0 / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001198/0.5828, allocations: 331 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.5829, allocations: 51.41 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.5831, allocations: 165.5 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.5831, allocations: 25.7 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.5832, allocations: 124.1 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.5833, allocations: 51.2 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.5834, allocations: 41.7 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5835, allocations: 322.8 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.5838, allocations: 107.8 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.5843, allocations: 128.8 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006812/0.585, allocations: 189.6 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.585, allocations: 0 / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008696/0.5859, allocations: 279.8 kB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5859, allocations: 4 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.5859, allocations: 0 / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5859, allocations: 4 kB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.5863, allocations: 51.89 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5863, allocations: 3.938 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.5867, allocations: 43.81 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.5867, allocations: 7.938 kB / 1.028 GB, free: 7.398 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.0001455/0.5868, allocations: 125.8 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.5869, allocations: 11.81 kB / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009372/0.5879, allocations: 274.5 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5879, allocations: 3.938 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.5879, allocations: 4 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5879, allocations: 3.984 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.59, allocations: 1.062 MB / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.59, allocations: 3.938 kB / 1.029 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.5904, allocations: 47.91 kB / 1.029 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.5904, allocations: 4 kB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.5904, allocations: 4 kB / 1.029 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.5904, allocations: 4 kB / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5904, allocations: 3.984 kB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008899/0.5913, allocations: 346.1 kB / 1.029 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.5914, allocations: 96.8 kB / 1.03 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.5915, allocations: 0 / 1.03 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.5918, allocations: 23.97 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.5919, allocations: 19.92 kB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.5919, allocations: 11.98 kB / 1.03 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.156e-05/0.592, allocations: 120.7 kB / 1.03 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.592, allocations: 0 / 1.03 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004774/0.5925, allocations: 127.9 kB / 1.03 GB, free: 4.91 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.0004606/0.5929, allocations: 223 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008856/0.5938, allocations: 239.8 kB / 1.03 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5939, allocations: 0 / 1.03 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.5942, allocations: 112.1 kB / 1.03 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.5948, allocations: 58.52 kB / 1.03 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.5971, allocations: 486.1 kB / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.5974, allocations: 0.7047 MB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.5976, allocations: 33.53 kB / 1.032 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/0.5977, allocations: 23.42 kB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/0.5977, allocations: 0 / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of Templates: time 0.008626/0.6063, allocations: 4.529 MB / 1.036 GB, free: 14.5 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