Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_11_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.004842/0.004842, allocations: 100.3 kB / 15.73 MB, free: 6.059 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.001265/0.001265, allocations: 194.9 kB / 16.68 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.762/2.762, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 71.88 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2993, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003136/0.3025, allocations: 2.045 MB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002335/0.3048, allocations: 1.663 MB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.3049, allocations: 4 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.279e-05/0.305, allocations: 19.8 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.3051, allocations: 47.55 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.306, allocations: 354.8 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.3062, allocations: 227.2 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3064, allocations: 57.45 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3065, allocations: 87.77 kB / 1.225 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.3067, allocations: 91.66 kB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.3067, allocations: 20 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007724/0.3075, allocations: 419.5 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.3075, allocations: 39.89 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.682e-05/0.3076, allocations: 91.66 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005859/0.3082, allocations: 446.5 kB / 1.226 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3082, allocations: 0 / 1.226 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3083, allocations: 0 / 1.226 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3083, allocations: 0 / 1.226 GB, free: 8.695 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.0008599/0.3091, allocations: 0.5334 MB / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3092, allocations: 8.031 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.3092, allocations: 50.73 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.3103, allocations: 140.7 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3105, allocations: 184.1 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.3106, allocations: 50.25 kB / 1.227 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.3106, allocations: 16.38 kB / 1.227 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.3112, allocations: 213.9 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3112, allocations: 0 / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.3112, allocations: 8 kB / 1.227 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.3112, allocations: 4 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.312, allocations: 239.6 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.3134, allocations: 0.9742 MB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.3139, allocations: 178.6 kB / 1.228 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.3142, allocations: 108.8 kB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006439/0.3149, allocations: 0.522 MB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.3149, allocations: 34.56 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.3149, allocations: 7.938 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.001166/0.3161, allocations: 327.4 kB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3161, allocations: 51.41 kB / 1.229 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3163, allocations: 160.1 kB / 1.229 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3163, allocations: 29.7 kB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.3164, allocations: 120.3 kB / 1.229 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/0.3165, allocations: 67.45 kB / 1.23 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.614e-05/0.3166, allocations: 37.7 kB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3168, allocations: 330.8 kB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.3171, allocations: 103.9 kB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.3175, allocations: 118.4 kB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.3182, allocations: 203.6 kB / 1.23 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3182, allocations: 0 / 1.23 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007987/0.319, allocations: 275.2 kB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.319, allocations: 8 kB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.319, allocations: 0 / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.319, allocations: 3.938 kB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.3194, allocations: 55.92 kB / 1.231 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3194, allocations: 4 kB / 1.231 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.3197, allocations: 27.88 kB / 1.231 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.3197, allocations: 15.98 kB / 1.231 GB, free: 3.117 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.000117/0.3199, allocations: 125.8 kB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.3199, allocations: 15.91 kB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008284/0.3208, allocations: 262.6 kB / 1.231 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3208, allocations: 15.88 kB / 1.231 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3208, allocations: 0 / 1.231 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3208, allocations: 0 / 1.231 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.3226, allocations: 1.074 MB / 1.232 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3226, allocations: 0 / 1.232 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.3229, allocations: 43.95 kB / 1.232 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3229, allocations: 0 / 1.232 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.323, allocations: 4 kB / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.323, allocations: 0 / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.323, allocations: 3.938 kB / 1.232 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/0.3238, allocations: 359.2 kB / 1.232 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.3238, allocations: 93 kB / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.3239, allocations: 4 kB / 1.233 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.3242, allocations: 27.97 kB / 1.233 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3242, allocations: 7.984 kB / 1.233 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3243, allocations: 4 kB / 1.233 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.412e-05/0.3244, allocations: 125.5 kB / 1.233 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.754e-06/0.3244, allocations: 0 / 1.233 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000463/0.3248, allocations: 139.5 kB / 1.233 GB, free: 0.6289 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.001416/0.3263, allocations: 1.003 MB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007796/0.3271, allocations: 231.8 kB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3271, allocations: 0 / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.3274, allocations: 115.9 kB / 1.234 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.3278, allocations: 52.03 kB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.3328, allocations: 2.367 MB / 1.237 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.3331, allocations: 0.7086 MB / 1.237 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.3333, allocations: 33.33 kB / 1.237 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3334, allocations: 51.41 kB / 1.237 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3334, allocations: 0 / 1.237 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.36, allocations: 6.344 MB / 1.243 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.507, allocations: 9.562 kB / 1.244 GB, free: 5.734 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches