Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_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.001451/0.001451, 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.001588/0.001588, allocations: 195.2 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 63.59 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2935, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00345/0.297, allocations: 2.049 MB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.2994, allocations: 1.675 MB / 1.057 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.2995, allocations: 4 kB / 1.057 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.276e-05/0.2996, allocations: 19.8 kB / 1.057 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.2998, allocations: 51.55 kB / 1.057 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.3008, allocations: 358.8 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.301, allocations: 219.2 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3012, allocations: 57.52 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3013, allocations: 87.72 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3015, allocations: 91.66 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.3015, allocations: 20 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007814/0.3023, allocations: 403.5 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.3024, allocations: 43.89 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.75e-05/0.3024, allocations: 91.64 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.303, allocations: 435.2 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.303, allocations: 4 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3031, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3031, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 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.000885/0.304, allocations: 0.5225 MB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.304, allocations: 12.62 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/0.3041, allocations: 50.73 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.3053, allocations: 136.7 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3054, allocations: 184.1 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/0.3055, allocations: 46.27 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.3055, allocations: 16.38 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000575/0.3061, allocations: 229.5 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3061, allocations: 0 / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.3062, allocations: 4 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3062, allocations: 4 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007368/0.3069, allocations: 235.8 kB / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.3083, allocations: 0.9661 MB / 1.061 GB, free: 44 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.3088, allocations: 182.6 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.3092, allocations: 108.8 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006617/0.3099, allocations: 0.5142 MB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.3099, allocations: 38.56 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.3099, allocations: 4 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001162/0.3111, allocations: 335.8 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3111, allocations: 55.41 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.3113, allocations: 161.5 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.3113, allocations: 25.7 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.3114, allocations: 120.2 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.3115, allocations: 55.19 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.3115, allocations: 37.7 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3117, allocations: 334.8 kB / 1.063 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.312, allocations: 103.9 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.3124, allocations: 120.1 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.3131, allocations: 197.6 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3131, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008173/0.3139, allocations: 270.6 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.314, allocations: 15.97 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.314, allocations: 0 / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.314, allocations: 3.938 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.3144, allocations: 47.91 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3144, allocations: 7.984 kB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.3147, allocations: 31.83 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3147, allocations: 8 kB / 1.063 GB, free: 13.11 MB / 0.8262 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.0001165/0.3148, allocations: 141.6 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.3149, allocations: 15.81 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008353/0.3157, allocations: 262.7 kB / 1.064 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3157, allocations: 3.938 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3158, allocations: 0 / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3158, allocations: 0 / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.3176, allocations: 1.08 MB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3176, allocations: 0 / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.3179, allocations: 43.95 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3179, allocations: 0 / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.318, allocations: 12.06 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.318, allocations: 0 / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.318, allocations: 0 / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.3188, allocations: 351.1 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.3188, allocations: 92.91 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.3189, allocations: 8 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.3192, allocations: 23.97 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.3193, allocations: 7.984 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3193, allocations: 8 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.711e-05/0.3194, allocations: 121.9 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3194, allocations: 4 kB / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004457/0.3198, allocations: 131.9 kB / 1.066 GB, free: 10.62 MB / 0.8262 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.001381/0.3212, allocations: 0.9987 MB / 1.067 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008116/0.322, allocations: 253.9 kB / 1.067 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.322, allocations: 0 / 1.067 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.3224, allocations: 107.9 kB / 1.067 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.3229, allocations: 56.08 kB / 1.067 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/0.3278, allocations: 2.352 MB / 1.069 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3281, allocations: 0.7163 MB / 1.07 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002139/0.3283, allocations: 33.69 kB / 1.07 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3284, allocations: 43.42 kB / 1.07 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3284, allocations: 7.938 kB / 1.07 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.35, allocations: 6.289 MB / 1.076 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.617, allocations: 1.125 kB / 1.076 GB, free: 15.79 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches