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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.005422/0.005422, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.00124/0.00124, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.638/2.638, allocations: 469.4 MB / 0.7421 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.84 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2955, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003181/0.2987, allocations: 2.053 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.3012, allocations: 1.655 MB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.3013, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.409e-05/0.3014, allocations: 19.78 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.3015, allocations: 55.53 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.3026, allocations: 358.8 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000261/0.3029, allocations: 231.1 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.303, allocations: 45.53 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3031, allocations: 83.78 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.3033, allocations: 95.64 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.3033, allocations: 24 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007783/0.3041, allocations: 407.5 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.3042, allocations: 51.88 kB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.3043, allocations: 87.66 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.3049, allocations: 442.6 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3049, allocations: 0 / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.51e-07/0.3049, allocations: 3.938 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.305, allocations: 0 / 1.225 GB, free: 9.098 MB / 0.9825 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.000829/0.3058, allocations: 0.5334 MB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3058, allocations: 12.03 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.3059, allocations: 50.73 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.307, allocations: 136.7 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3071, allocations: 188.2 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.997e-05/0.3072, allocations: 50.25 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.3072, allocations: 12.38 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.3078, allocations: 223.4 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.3078, allocations: 0 / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.3078, allocations: 4 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3079, allocations: 4 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007135/0.3086, allocations: 243.6 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.3099, allocations: 0.9703 MB / 1.228 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.3104, allocations: 186.6 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.3107, allocations: 112.8 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005934/0.3113, allocations: 0.522 MB / 1.228 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.3114, allocations: 30.56 kB / 1.228 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.3114, allocations: 4 kB / 1.228 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.001095/0.3125, allocations: 332.1 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.3125, allocations: 51.41 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3126, allocations: 169.1 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3127, allocations: 29.7 kB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.3127, allocations: 116.3 kB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.3128, allocations: 55.48 kB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.3129, allocations: 41.7 kB / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.313, allocations: 326.8 kB / 1.229 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.3133, allocations: 107.9 kB / 1.23 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.3137, allocations: 125.6 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/0.3143, allocations: 191.1 kB / 1.23 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3143, allocations: 4 kB / 1.23 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007652/0.3151, allocations: 274.7 kB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3151, allocations: 9.906 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3152, allocations: 4 kB / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3152, allocations: 3.938 kB / 1.23 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.3155, allocations: 47.91 kB / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3155, allocations: 0 / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.3158, allocations: 39.86 kB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.3159, allocations: 4 kB / 1.23 GB, free: 3.52 MB / 0.9825 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.0001101/0.316, allocations: 126.4 kB / 1.23 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.316, allocations: 19.89 kB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007977/0.3168, allocations: 266.6 kB / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3168, allocations: 7.938 kB / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3169, allocations: 3.938 kB / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3169, allocations: 0 / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.3186, allocations: 1.07 MB / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3187, allocations: 0 / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.319, allocations: 47.91 kB / 1.232 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.319, allocations: 0 / 1.232 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.319, allocations: 12.05 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.319, allocations: 4 kB / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.319, allocations: 0 / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/0.3198, allocations: 349 kB / 1.232 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.3199, allocations: 92.98 kB / 1.232 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.3199, allocations: 8 kB / 1.232 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.3202, allocations: 23.97 kB / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.3203, allocations: 15.92 kB / 1.232 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.3203, allocations: 4 kB / 1.232 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.425e-05/0.3204, allocations: 121.5 kB / 1.232 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.51e-07/0.3204, allocations: 4 kB / 1.232 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004657/0.3209, allocations: 131.6 kB / 1.232 GB, free: 1.027 MB / 0.9825 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.001377/0.3223, allocations: 1.009 MB / 1.233 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007461/0.323, allocations: 231.7 kB / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.323, allocations: 0 / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.3234, allocations: 107.9 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.3238, allocations: 46.41 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.3287, allocations: 2.372 MB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3289, allocations: 0.7164 MB / 1.237 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.3291, allocations: 40.06 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3292, allocations: 43.42 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.3292, allocations: 0 / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.3502, allocations: 6.352 MB / 1.243 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.269/7.619, allocations: 4 kB / 1.243 GB, free: 6.148 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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