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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009227/0.009227, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.002262/0.002262, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 62.91 kB / 0.9504 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2841, allocations: 140.4 MB / 1.087 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003249/0.2874, allocations: 2.032 MB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.2898, allocations: 1.667 MB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.2899, allocations: 4 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.975e-05/0.29, allocations: 15.8 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.2902, allocations: 51.55 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.2913, allocations: 358.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.2916, allocations: 231.1 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.2917, allocations: 57.45 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.2919, allocations: 95.69 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.292, allocations: 87.67 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.2921, allocations: 24 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008261/0.2929, allocations: 411.5 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.293, allocations: 47.89 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.106e-05/0.2931, allocations: 83.66 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006353/0.2937, allocations: 442.5 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2937, allocations: 4 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2937, allocations: 0 / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2938, allocations: 0 / 1.093 GB, free: 12.53 MB / 0.8575 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.0008835/0.2946, allocations: 0.5225 MB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2947, allocations: 12.03 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.2948, allocations: 50.73 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.2959, allocations: 136.6 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.296, allocations: 184.2 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.22e-05/0.2961, allocations: 50.02 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.2962, allocations: 16.38 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.2967, allocations: 221.6 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2967, allocations: 4 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.2968, allocations: 4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2968, allocations: 4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.2975, allocations: 243.8 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.299, allocations: 0.9546 MB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.2996, allocations: 182.6 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.2999, allocations: 104.8 kB / 1.096 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006026/0.3005, allocations: 0.522 MB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.3006, allocations: 34.56 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.3006, allocations: 4 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.001207/0.3018, allocations: 333.6 kB / 1.096 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3018, allocations: 55.34 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.302, allocations: 165.1 kB / 1.097 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.302, allocations: 25.7 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.3021, allocations: 120.2 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.3021, allocations: 47.2 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.3022, allocations: 49.62 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3024, allocations: 330.8 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.3027, allocations: 103.9 kB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.3031, allocations: 122.7 kB / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.3037, allocations: 192.8 kB / 1.098 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3037, allocations: 0 / 1.098 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007826/0.3045, allocations: 277.3 kB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3045, allocations: 8.031 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3045, allocations: 4 kB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3046, allocations: 3.938 kB / 1.098 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.305, allocations: 47.91 kB / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.305, allocations: 3.984 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.3053, allocations: 39.77 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3053, allocations: 8 kB / 1.098 GB, free: 6.98 MB / 0.8575 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.000116/0.3054, allocations: 129.8 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.3055, allocations: 15.81 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008074/0.3063, allocations: 260.5 kB / 1.098 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3063, allocations: 7.938 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3063, allocations: 0 / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3063, allocations: 0 / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.3081, allocations: 1.074 MB / 1.099 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3081, allocations: 0 / 1.099 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.3084, allocations: 43.89 kB / 1.099 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3084, allocations: 4 kB / 1.099 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3084, allocations: 4.062 kB / 1.099 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3085, allocations: 4 kB / 1.099 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3085, allocations: 0 / 1.099 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007852/0.3092, allocations: 352.8 kB / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.3093, allocations: 93 kB / 1.1 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.3094, allocations: 4 kB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.3097, allocations: 27.97 kB / 1.1 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3097, allocations: 7.984 kB / 1.1 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.3097, allocations: 8 kB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.387e-05/0.3098, allocations: 125.2 kB / 1.1 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3098, allocations: 4 kB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004815/0.3103, allocations: 127.9 kB / 1.1 GB, free: 4.5 MB / 0.8575 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.001358/0.3117, allocations: 1.009 MB / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000763/0.3125, allocations: 235.8 kB / 1.101 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3125, allocations: 0 / 1.101 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.3128, allocations: 109.6 kB / 1.101 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.3133, allocations: 53.33 kB / 1.101 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.3182, allocations: 2.367 MB / 1.104 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3185, allocations: 0.7086 MB / 1.104 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001834/0.3187, allocations: 37.69 kB / 1.105 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.3188, allocations: 43.42 kB / 1.105 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of SimCode: time 6.91e-07/0.3188, allocations: 0 / 1.105 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.3429, allocations: 6.414 MB / 1.111 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/7.93, allocations: 3.938 kB / 1.111 GB, free: 9.531 MB / 0.8731 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