Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",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.001524/0.001524, allocations: 108 kB / 15.61 MB, free: 148 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.001883/0.001883, allocations: 194.7 kB / 16.53 MB, free: 6.656 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 70.12 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2771, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.002952/0.2801, allocations: 2.049 MB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.2823, allocations: 1.667 MB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.2824, allocations: 4 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.97e-05/0.2824, allocations: 19.78 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.2825, allocations: 47.55 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009894/0.2835, allocations: 358.8 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.2838, allocations: 231.1 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2839, allocations: 45.53 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.284, allocations: 91.75 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.2842, allocations: 91.67 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.2842, allocations: 20 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007461/0.285, allocations: 399.5 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.285, allocations: 43.89 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.393e-05/0.2851, allocations: 91.64 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005965/0.2857, allocations: 439.1 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2858, allocations: 3.938 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2858, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2858, allocations: 4 kB / 1.069 GB, free: 8.953 MB / 0.8262 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.000839/0.2866, allocations: 0.5225 MB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2867, allocations: 8.031 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.2867, allocations: 50.73 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.2879, allocations: 140.6 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.288, allocations: 176.2 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/0.2881, allocations: 50.25 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.2882, allocations: 16.38 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.2888, allocations: 221.6 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2888, allocations: 0 / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.2888, allocations: 8 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2888, allocations: 4 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007401/0.2896, allocations: 235.8 kB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.2909, allocations: 0.9663 MB / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.2914, allocations: 178.6 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.2918, allocations: 112.8 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000626/0.2924, allocations: 0.5259 MB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.2924, allocations: 30.56 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.2924, allocations: 0 / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001159/0.2936, allocations: 338.8 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.2936, allocations: 51.41 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2938, allocations: 156.9 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2938, allocations: 29.69 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.2939, allocations: 120.2 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.2939, allocations: 55.14 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.294, allocations: 45.7 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.2941, allocations: 326.8 kB / 1.073 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.2945, allocations: 99.94 kB / 1.073 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.2948, allocations: 123.1 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.2955, allocations: 204.5 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2955, allocations: 0 / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008168/0.2964, allocations: 269.3 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2964, allocations: 7.938 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2964, allocations: 4 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2964, allocations: 7.922 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.2968, allocations: 51.91 kB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.2968, allocations: 3.938 kB / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.2971, allocations: 35.81 kB / 1.074 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.2971, allocations: 4 kB / 1.074 GB, free: 3.406 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.0001177/0.2973, allocations: 130.3 kB / 1.074 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.2973, allocations: 19.81 kB / 1.074 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/0.2982, allocations: 258.7 kB / 1.074 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2982, allocations: 7.938 kB / 1.074 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2982, allocations: 0 / 1.074 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2982, allocations: 3.984 kB / 1.074 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.3, allocations: 1.073 MB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3, allocations: 0 / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.3004, allocations: 47.97 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3004, allocations: 0 / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.3004, allocations: 11.98 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.3004, allocations: 0 / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3004, allocations: 0 / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007768/0.3012, allocations: 354.1 kB / 1.076 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.3013, allocations: 85.02 kB / 1.076 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.3013, allocations: 7.984 kB / 1.076 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.3017, allocations: 19.98 kB / 1.076 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.3017, allocations: 23.91 kB / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.3018, allocations: 4 kB / 1.076 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.631e-05/0.3019, allocations: 119.2 kB / 1.076 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3019, allocations: 0 / 1.076 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004623/0.3024, allocations: 127.9 kB / 1.076 GB, free: 0.9258 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.001369/0.3037, allocations: 1.012 MB / 1.077 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008025/0.3046, allocations: 235.8 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3046, allocations: 0 / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.3049, allocations: 118.3 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.3054, allocations: 57.94 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.3099, allocations: 2.316 MB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.3102, allocations: 0.7125 MB / 1.081 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.3104, allocations: 33.05 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.3106, allocations: 43.42 kB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of SimCode: time 8.92e-07/0.3106, allocations: 0 / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.3336, allocations: 6.295 MB / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/8.035, allocations: 10.83 kB / 1.087 GB, free: 6.133 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_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_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches