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: "" <> 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.001298/0.001298, 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.001777/0.001777, allocations: 193.8 kB / 16.25 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.516/2.516, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.8689 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5817/0.5831, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003132/0.5863, allocations: 2.1 MB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.5884, allocations: 1.66 MB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.5885, allocations: 4 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.784e-05/0.5886, allocations: 7.922 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.488e-05/0.5887, allocations: 47.61 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.5895, allocations: 330.8 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.5897, allocations: 223.2 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.5899, allocations: 49.45 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.988e-05/0.59, allocations: 87.72 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.5901, allocations: 91.67 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.5902, allocations: 16 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.5908, allocations: 419.5 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.5909, allocations: 43.91 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.666e-05/0.591, allocations: 91.64 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.5915, allocations: 441.2 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5915, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5915, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5915, 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.0007774/0.5923, allocations: 0.5264 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5923, allocations: 8.031 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.5924, allocations: 54.73 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.5935, allocations: 136.6 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.5936, allocations: 188.1 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.5937, allocations: 50.2 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.5937, allocations: 16.38 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.5943, allocations: 221.6 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.5943, allocations: 3.938 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.5943, allocations: 8 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5943, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006815/0.595, allocations: 235.8 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.5964, allocations: 0.9661 MB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.5968, allocations: 182.7 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.5971, allocations: 109.1 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006003/0.5978, allocations: 0.522 MB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.5978, allocations: 34.56 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.5978, allocations: 0 / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001088/0.5989, allocations: 339.4 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.5989, allocations: 51.41 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.5991, allocations: 164 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.5991, allocations: 29.7 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.5992, allocations: 112.2 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.5993, allocations: 55.2 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.69e-05/0.5994, allocations: 45.69 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.5995, allocations: 322.8 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.5998, allocations: 103.9 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.6001, allocations: 132.6 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.6007, allocations: 193.6 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6007, allocations: 0 / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007283/0.6015, allocations: 279.4 kB / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6015, allocations: 4 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6015, allocations: 0 / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.6015, allocations: 7.938 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.6019, allocations: 47.97 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6019, allocations: 7.922 kB / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.6022, allocations: 31.83 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.6022, allocations: 8 kB / 1.027 GB, free: 7.566 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.6023, allocations: 130.3 kB / 1.027 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.6024, allocations: 15.81 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007659/0.6032, allocations: 266.7 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6032, allocations: 7.922 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.6032, allocations: 4 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6032, allocations: 0 / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.6048, allocations: 1.074 MB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6048, allocations: 0 / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.6051, allocations: 48.02 kB / 1.029 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.6052, allocations: 4 kB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.6052, allocations: 0 / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.6052, allocations: 4 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6052, allocations: 0 / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.6059, allocations: 350.2 kB / 1.029 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.606, allocations: 100.8 kB / 1.029 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.606, allocations: 4 kB / 1.029 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.6063, allocations: 19.97 kB / 1.029 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.6064, allocations: 15.98 kB / 1.029 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.6064, allocations: 8 kB / 1.029 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.9e-05/0.6065, allocations: 121.3 kB / 1.029 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6065, allocations: 0 / 1.029 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004557/0.607, allocations: 131.9 kB / 1.03 GB, free: 5.074 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.001335/0.6083, allocations: 1.003 MB / 1.031 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007239/0.609, allocations: 243.7 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.609, allocations: 0 / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.6094, allocations: 112.1 kB / 1.031 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.6098, allocations: 48.45 kB / 1.031 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/0.6144, allocations: 2.406 MB / 1.033 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.6146, allocations: 0.7125 MB / 1.034 GB, free: 416 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.6149, allocations: 33.7 kB / 1.034 GB, free: 384 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.615, allocations: 43.42 kB / 1.034 GB, free: 340 kB / 0.7794 GB Notification: Performance of SimCode: time 7.11e-07/0.615, allocations: 3.938 kB / 1.034 GB, free: 336 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.455/3.07, allocations: 6.206 MB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/3.07, allocations: 221.3 kB / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/5.498, allocations: 64 / 1.04 GB, free: 10.05 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