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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, 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.001414/0.001414, allocations: 193.5 kB / 16.14 MB, free: 6.652 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.89 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.5516, allocations: 151.6 MB / 1.017 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003571/0.5552, allocations: 2.1 MB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002497/0.5577, allocations: 1.742 MB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.5578, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.408e-05/0.5579, allocations: 23.84 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.434e-05/0.558, allocations: 43.67 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000785/0.5588, allocations: 299 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.559, allocations: 219.1 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.5591, allocations: 49.42 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.5592, allocations: 75.78 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.5593, allocations: 91.64 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.5594, allocations: 12 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007185/0.5601, allocations: 391.5 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.5602, allocations: 39.89 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.487e-05/0.5603, allocations: 83.64 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.5608, allocations: 437.2 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.5608, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.21e-07/0.5608, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.5609, allocations: 0 / 1.022 GB, free: 13.34 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.0008879/0.5618, allocations: 0.5265 MB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.5618, allocations: 8.031 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.5619, allocations: 54.73 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.5631, allocations: 132.6 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.5633, allocations: 184.1 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.955e-05/0.5634, allocations: 50.25 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.5634, allocations: 16.38 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.5641, allocations: 217.6 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5641, allocations: 3.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.5641, allocations: 8 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.5641, allocations: 7.938 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007565/0.5649, allocations: 231.8 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.5665, allocations: 0.9662 MB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.5671, allocations: 182.6 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.5674, allocations: 117.1 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007272/0.5682, allocations: 0.5181 MB / 1.025 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.5682, allocations: 34.5 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.5682, allocations: 4 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001163/0.5694, allocations: 326.6 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.5695, allocations: 55.34 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.5696, allocations: 168 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.5697, allocations: 29.7 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.5697, allocations: 116.2 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.5698, allocations: 59.17 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/0.5699, allocations: 41.7 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.57, allocations: 326.8 kB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.5703, allocations: 103.9 kB / 1.026 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.5707, allocations: 118.6 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.5714, allocations: 192.6 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5714, allocations: 4 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007565/0.5721, allocations: 273.3 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5722, allocations: 10.38 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.5722, allocations: 4 kB / 1.027 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.5722, allocations: 3.938 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.5725, allocations: 55.83 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.5726, allocations: 3.938 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.5729, allocations: 35.83 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.5729, allocations: 7.984 kB / 1.027 GB, free: 7.777 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.000112/0.573, allocations: 126.4 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.5731, allocations: 19.75 kB / 1.027 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008038/0.5739, allocations: 267.9 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.5739, allocations: 7.938 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5739, allocations: 0 / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.5739, allocations: 0 / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.5756, allocations: 1.066 MB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5757, allocations: 3.984 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.576, allocations: 43.91 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.576, allocations: 0 / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.576, allocations: 8.062 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.576, allocations: 4 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.576, allocations: 0 / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007453/0.5768, allocations: 352.9 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.5768, allocations: 92.86 kB / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.5769, allocations: 8 kB / 1.029 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.5772, allocations: 23.97 kB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.5772, allocations: 11.98 kB / 1.029 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.5773, allocations: 4 kB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.762e-05/0.5774, allocations: 121.3 kB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5774, allocations: 4 kB / 1.029 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004372/0.5778, allocations: 123.9 kB / 1.029 GB, free: 5.301 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.001412/0.5792, allocations: 1.015 MB / 1.03 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007773/0.58, allocations: 235.6 kB / 1.031 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.58, allocations: 0 / 1.031 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.5804, allocations: 107.9 kB / 1.031 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.5808, allocations: 48.11 kB / 1.031 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.5858, allocations: 2.411 MB / 1.033 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.5861, allocations: 0.7089 MB / 1.034 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000206/0.5863, allocations: 29.53 kB / 1.034 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.5864, allocations: 47.42 kB / 1.034 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.5864, allocations: 0 / 1.034 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3381/0.9246, allocations: 6.058 MB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/0.9249, allocations: 215.5 kB / 1.04 GB, free: 10.41 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.996, allocations: 0 / 1.04 GB, free: 10.41 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > 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/jenkins1/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