Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_9_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.0009087/0.0009087, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005822/0.005822, allocations: 169.9 kB / 16.27 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.5761, allocations: 142.4 MB / 0.9552 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001768/0.5779, allocations: 1.738 MB / 0.9569 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.5798, allocations: 1.719 MB / 0.9585 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.5799, allocations: 1.875 kB / 0.9585 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.58, allocations: 10.05 kB / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.115e-05/0.5801, allocations: 45.45 kB / 0.9586 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.5808, allocations: 298.8 kB / 0.9589 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.5809, allocations: 220.3 kB / 0.9591 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.5811, allocations: 44 kB / 0.9591 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.5812, allocations: 77 kB / 0.9592 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.5813, allocations: 85.59 kB / 0.9593 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.5813, allocations: 10.16 kB / 0.9593 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006276/0.5819, allocations: 388.3 kB / 0.9597 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.582, allocations: 38.39 kB / 0.9597 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.634e-05/0.5821, allocations: 106.1 kB / 0.9598 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.5825, allocations: 419.4 kB / 0.9602 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.5825, allocations: 4 kB / 0.9602 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5825, allocations: 0 / 0.9602 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5825, allocations: 0 / 0.9602 GB, free: 3.914 MB / 0.7169 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.0006308/0.5832, allocations: 0.498 MB / 0.9607 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5832, allocations: 9.625 kB / 0.9607 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.5833, allocations: 52.23 kB / 0.9608 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.5844, allocations: 153.6 kB / 0.9609 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/0.5844, allocations: 180.4 kB / 0.9611 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.5845, allocations: 47.25 kB / 0.9611 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.5846, allocations: 19.34 kB / 0.9611 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.5851, allocations: 224.2 kB / 0.9614 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.5851, allocations: 0 / 0.9614 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.5851, allocations: 5.844 kB / 0.9614 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5852, allocations: 4.188 kB / 0.9614 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.5859, allocations: 237.9 kB / 0.9616 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.587, allocations: 0.9825 MB / 0.9626 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.5874, allocations: 185.6 kB / 0.9627 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.5878, allocations: 112.5 kB / 0.9628 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004845/0.5883, allocations: 0.521 MB / 0.9633 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.5883, allocations: 39.78 kB / 0.9634 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.5883, allocations: 0 / 0.9634 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001097/0.5894, allocations: 332.8 kB / 0.9637 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.5894, allocations: 57.59 kB / 0.9638 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.5895, allocations: 160.2 kB / 0.9639 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.5896, allocations: 30.91 kB / 0.9639 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.5896, allocations: 122.2 kB / 0.9641 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.5896, allocations: 49.62 kB / 0.9641 GB, free: 484 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.5897, allocations: 26.77 kB / 0.9641 GB, free: 456 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.936e-05/0.5897, allocations: 322.5 kB / 0.9644 GB, free: 128 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.5901, allocations: 109.8 kB / 0.9645 GB, free: 72 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.5904, allocations: 125.8 kB / 0.9647 GB, free: 0 / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.5911, allocations: 201.8 kB / 0.9649 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5911, allocations: 0 / 0.9649 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007759/0.5919, allocations: 282.3 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5919, allocations: 5.75 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5919, allocations: 0 / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.5919, allocations: 0 / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.5923, allocations: 51.84 kB / 0.9652 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5923, allocations: 7.391 kB / 0.9652 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.5926, allocations: 31.67 kB / 0.9652 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.5926, allocations: 11.53 kB / 0.9652 GB, free: 15.71 MB / 0.7325 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.0001162/0.5927, allocations: 130.6 kB / 0.9653 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.5928, allocations: 15.12 kB / 0.9654 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000796/0.5936, allocations: 268.3 kB / 0.9656 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5936, allocations: 4.969 kB / 0.9656 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5936, allocations: 1 kB / 0.9656 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5936, allocations: 3.938 kB / 0.9656 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.5953, allocations: 1.068 MB / 0.9667 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5953, allocations: 4.875 kB / 0.9667 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.5956, allocations: 51.42 kB / 0.9667 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5956, allocations: 1.25 kB / 0.9667 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.5957, allocations: 2.188 kB / 0.9667 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5957, allocations: 1.125 kB / 0.9667 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5957, allocations: 1.156 kB / 0.9667 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.5964, allocations: 354.9 kB / 0.9671 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.5965, allocations: 102 kB / 0.9672 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.5965, allocations: 6.156 kB / 0.9672 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.5969, allocations: 29.41 kB / 0.9672 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.5969, allocations: 10.02 kB / 0.9672 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.5969, allocations: 12.52 kB / 0.9672 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.63e-05/0.597, allocations: 122.8 kB / 0.9673 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.597, allocations: 0 / 0.9673 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004839/0.5975, allocations: 129.5 kB / 0.9675 GB, free: 13.82 MB / 0.7325 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.001324/0.5989, allocations: 1.007 MB / 0.9684 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007383/0.5996, allocations: 237.9 kB / 0.9687 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5996, allocations: 0 / 0.9687 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.6, allocations: 119.7 kB / 0.9688 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.6004, allocations: 40.05 kB / 0.9688 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.6053, allocations: 2.452 MB / 0.9712 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.6055, allocations: 0.711 MB / 0.9719 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.6057, allocations: 35.62 kB / 0.9719 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.6058, allocations: 51.67 kB / 0.972 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.6058, allocations: 0 / 0.972 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.6217, allocations: 5.964 MB / 0.9778 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.622, allocations: 225.4 kB / 0.978 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.503, allocations: 0 / 0.978 GB, free: 6.992 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches