Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example4",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.001909/0.001909, allocations: 108 kB / 15.6 MB, free: 132 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.002336/0.002336, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.851/2.851, allocations: 469.8 MB / 0.7424 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 68.36 kB / 0.9086 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2573, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.6992/0.9565, allocations: 237.6 MB / 1.296 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.973, allocations: 15.79 MB / 1.311 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.9749, allocations: 64.34 kB / 1.312 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.9771, allocations: 1.03 MB / 1.313 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006149/0.9832, allocations: 2.978 MB / 1.315 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.9869, allocations: 1.673 MB / 1.317 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00345/0.9903, allocations: 3.434 MB / 1.32 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.9919, allocations: 1.283 MB / 1.322 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005401/0.9973, allocations: 2.49 MB / 1.324 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.9992, allocations: 1.084 MB / 1.325 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.9994, allocations: 118.4 kB / 1.325 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005164/1.005, allocations: 3.095 MB / 1.328 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004225/1.005, allocations: 476.5 kB / 1.329 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007685/1.006, allocations: 0.8071 MB / 1.33 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/1.009, allocations: 2.933 MB / 1.332 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.009, allocations: 3.875 kB / 1.332 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/1.009, allocations: 0 / 1.332 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.446e-05/1.009, allocations: 0 / 1.332 GB, free: 2.867 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003004/1.012, allocations: 2.009 MB / 1.334 GB, free: 17.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/1.012, allocations: 11.66 kB / 1.334 GB, free: 17.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/1.012, allocations: 151.8 kB / 1.335 GB, free: 17.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/1.015, allocations: 0.4939 MB / 1.335 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/1.017, allocations: 1.118 MB / 1.336 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009111/1.018, allocations: 241.5 kB / 1.336 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/1.018, allocations: 100 kB / 1.336 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/1.02, allocations: 1.362 MB / 1.338 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/1.02, allocations: 7.344 kB / 1.338 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/1.02, allocations: 40.75 kB / 1.338 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/1.02, allocations: 45.47 kB / 1.338 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/1.022, allocations: 1.083 MB / 1.339 GB, free: 16.86 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007071/1.03, allocations: 7.446 MB / 1.346 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/1.031, allocations: 0.568 MB / 1.347 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/1.032, allocations: 276.2 kB / 1.347 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003832/1.032, allocations: 279.6 kB / 1.347 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/1.032, allocations: 40.73 kB / 1.347 GB, free: 11.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/1.032, allocations: 6.219 kB / 1.347 GB, free: 11.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002309/1.034, allocations: 0.8563 MB / 1.348 GB, free: 11.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/1.035, allocations: 57.64 kB / 1.348 GB, free: 11.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/1.036, allocations: 1.398 MB / 1.35 GB, free: 11.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/1.036, allocations: 35.02 kB / 1.35 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/1.037, allocations: 0.7045 MB / 1.35 GB, free: 10.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/1.037, allocations: 118.6 kB / 1.35 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/1.037, allocations: 164.4 kB / 1.351 GB, free: 10.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.037, allocations: 334.2 kB / 1.351 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008524/1.038, allocations: 326.7 kB / 1.351 GB, free: 10.35 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.039, allocations: 0.6998 MB / 1.352 GB, free: 9.867 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/1.041, allocations: 0.9594 MB / 1.353 GB, free: 9.406 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/1.041, allocations: 10.66 kB / 1.353 GB, free: 9.398 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00234/1.043, allocations: 1.079 MB / 1.354 GB, free: 9.082 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.043, allocations: 8.562 kB / 1.354 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.043, allocations: 20.19 kB / 1.354 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.043, allocations: 15.38 kB / 1.354 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/1.044, allocations: 212.3 kB / 1.354 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.044, allocations: 22.19 kB / 1.354 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.045, allocations: 195.1 kB / 1.354 GB, free: 8.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/1.046, allocations: 42.12 kB / 1.354 GB, free: 8.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001203/1.047, allocations: 0.58 MB / 1.355 GB, free: 8.719 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001167/1.048, allocations: 0.698 MB / 1.356 GB, free: 8.141 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001836/1.05, allocations: 0.9545 MB / 1.357 GB, free: 7.508 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.548e-06/1.05, allocations: 2.75 kB / 1.357 GB, free: 7.508 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002318/1.052, allocations: 1.072 MB / 1.358 GB, free: 7.184 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/1.052, allocations: 9.438 kB / 1.358 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.052, allocations: 16.12 kB / 1.358 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/1.052, allocations: 15.31 kB / 1.358 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/1.053, allocations: 211.3 kB / 1.358 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/1.053, allocations: 24.14 kB / 1.358 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.054, allocations: 146.7 kB / 1.358 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/1.054, allocations: 41.08 kB / 1.358 GB, free: 7.121 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0002116/1.055, allocations: 240.6 kB / 1.358 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/1.055, allocations: 142.1 kB / 1.358 GB, free: 6.836 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/1.056, allocations: 0.6611 MB / 1.359 GB, free: 6.586 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.056, allocations: 3.594 kB / 1.359 GB, free: 6.586 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.056, allocations: 0 / 1.359 GB, free: 6.586 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.056, allocations: 1.547 kB / 1.359 GB, free: 6.586 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/1.06, allocations: 1.927 MB / 1.361 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.06, allocations: 3.406 kB / 1.361 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/1.06, allocations: 97.39 kB / 1.361 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/1.06, allocations: 5.25 kB / 1.361 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/1.06, allocations: 12.59 kB / 1.361 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/1.061, allocations: 7 kB / 1.361 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.061, allocations: 15.5 kB / 1.361 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/1.062, allocations: 0.8163 MB / 1.362 GB, free: 5.164 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/1.063, allocations: 295.6 kB / 1.362 GB, free: 4.949 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/1.063, allocations: 10.61 kB / 1.362 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.064, allocations: 78.12 kB / 1.362 GB, free: 4.934 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/1.064, allocations: 33.83 kB / 1.362 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/1.064, allocations: 23.7 kB / 1.362 GB, free: 4.922 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00135/1.065, allocations: 1.01 MB / 1.363 GB, free: 4.539 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.065, allocations: 3.406 kB / 1.363 GB, free: 4.539 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001574/1.067, allocations: 0.5777 MB / 1.364 GB, free: 4.457 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.002375/1.069, allocations: 1.531 MB / 1.365 GB, free: 3.41 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00282/1.072, allocations: 1.18 MB / 1.367 GB, free: 3.141 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.072, allocations: 0 / 1.367 GB, free: 3.141 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007084/1.073, allocations: 263.2 kB / 1.367 GB, free: 3.082 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/1.076, allocations: 0.7466 MB / 1.367 GB, free: 2.844 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.093, allocations: 10.68 MB / 1.378 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/1.094, allocations: 1.183 MB / 1.379 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001666/1.096, allocations: 391.2 kB / 1.379 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006867/1.096, allocations: 0.4883 MB / 1.38 GB, free: 10.38 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/1.096, allocations: 5.219 kB / 1.38 GB, free: 10.37 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06816/1.165, allocations: 35.41 MB / 1.415 GB, free: 12.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/9.507, allocations: 13.8 kB / 1.415 GB, free: 12.39 MB / 1.061 GB (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_11_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches