Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-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.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_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.007813/0.007813, allocations: 100.2 kB / 15.73 MB, free: 6.441 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.00221/0.00221, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.749/2.749, allocations: 469.4 MB / 0.7421 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 71.84 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2906, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8087/1.099, allocations: 237.6 MB / 1.452 GB, free: 8.422 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02152/1.121, allocations: 15.78 MB / 1.467 GB, free: 8.602 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/1.123, allocations: 67.5 kB / 1.467 GB, free: 8.535 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002959/1.126, allocations: 1.076 MB / 1.468 GB, free: 7.453 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007928/1.134, allocations: 3.108 MB / 1.471 GB, free: 4.332 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004391/1.138, allocations: 1.684 MB / 1.473 GB, free: 2.66 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004976/1.143, allocations: 3.444 MB / 1.476 GB, free: 15.21 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/1.146, allocations: 1.295 MB / 1.478 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00593/1.152, allocations: 2.583 MB / 1.48 GB, free: 11.3 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/1.154, allocations: 1.073 MB / 1.481 GB, free: 10.24 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003173/1.154, allocations: 120 kB / 1.481 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005487/1.159, allocations: 3.106 MB / 1.484 GB, free: 7.008 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005759/1.16, allocations: 486.4 kB / 1.485 GB, free: 6.531 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/1.161, allocations: 0.8046 MB / 1.486 GB, free: 5.723 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005624/1.167, allocations: 2.982 MB / 1.488 GB, free: 2.73 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.167, allocations: 3.938 kB / 1.488 GB, free: 2.727 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.482e-06/1.167, allocations: 0 / 1.488 GB, free: 2.727 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.615e-05/1.167, allocations: 0 / 1.488 GB, free: 2.727 MB / 1.17 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.00442/1.171, allocations: 2.064 MB / 1.49 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.172, allocations: 8.031 kB / 1.49 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002203/1.172, allocations: 152.2 kB / 1.491 GB, free: 448 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002998/1.175, allocations: 0.5073 MB / 1.491 GB, free: 15.93 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/1.177, allocations: 1.185 MB / 1.492 GB, free: 14.69 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.03e-05/1.177, allocations: 78 kB / 1.492 GB, free: 14.61 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/1.178, allocations: 96 kB / 1.492 GB, free: 14.52 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/1.18, allocations: 1.354 MB / 1.494 GB, free: 13.05 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/1.18, allocations: 3.938 kB / 1.494 GB, free: 13.04 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/1.18, allocations: 44 kB / 1.494 GB, free: 13 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.314e-05/1.18, allocations: 49.98 kB / 1.494 GB, free: 12.95 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/1.183, allocations: 1.046 MB / 1.495 GB, free: 11.91 MB / 1.186 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.007816/1.191, allocations: 7.397 MB / 1.502 GB, free: 4.027 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/1.192, allocations: 0.54 MB / 1.503 GB, free: 3.48 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006506/1.193, allocations: 269.6 kB / 1.503 GB, free: 3.215 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003676/1.193, allocations: 295.5 kB / 1.503 GB, free: 2.871 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/1.193, allocations: 34.84 kB / 1.503 GB, free: 2.828 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/1.193, allocations: 0 / 1.503 GB, free: 2.828 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.002426/1.196, allocations: 0.8416 MB / 1.504 GB, free: 1.98 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/1.196, allocations: 55.41 kB / 1.504 GB, free: 1.914 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/1.198, allocations: 1.391 MB / 1.505 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/1.198, allocations: 37.7 kB / 1.505 GB, free: 480 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005347/1.198, allocations: 0.7198 MB / 1.506 GB, free: 15.74 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/1.198, allocations: 123 kB / 1.506 GB, free: 15.62 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/1.199, allocations: 162.5 kB / 1.506 GB, free: 15.45 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.199, allocations: 337.9 kB / 1.507 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008875/1.2, allocations: 312.6 kB / 1.507 GB, free: 14.81 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/1.201, allocations: 0.6852 MB / 1.508 GB, free: 13.95 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/1.203, allocations: 0.9342 MB / 1.509 GB, free: 12.86 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.203, allocations: 4 kB / 1.509 GB, free: 12.86 MB / 1.201 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002469/1.205, allocations: 1.062 MB / 1.51 GB, free: 11.79 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.205, allocations: 9.875 kB / 1.51 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.205, allocations: 12 kB / 1.51 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/1.205, allocations: 20.75 kB / 1.51 GB, free: 11.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/1.206, allocations: 203.7 kB / 1.51 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/1.206, allocations: 19.94 kB / 1.51 GB, free: 11.53 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/1.207, allocations: 187 kB / 1.51 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/1.208, allocations: 47.98 kB / 1.51 GB, free: 11.3 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001226/1.209, allocations: 0.5612 MB / 1.511 GB, free: 10.73 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0011/1.21, allocations: 0.6891 MB / 1.511 GB, free: 9.867 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001726/1.212, allocations: 0.9256 MB / 1.512 GB, free: 8.781 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.794e-06/1.212, allocations: 4 kB / 1.512 GB, free: 8.777 MB / 1.201 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002449/1.214, allocations: 1.055 MB / 1.513 GB, free: 7.715 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.214, allocations: 8 kB / 1.513 GB, free: 7.707 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.214, allocations: 15.94 kB / 1.513 GB, free: 7.691 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.214, allocations: 16 kB / 1.513 GB, free: 7.676 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008529/1.215, allocations: 207.6 kB / 1.514 GB, free: 7.473 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/1.215, allocations: 19.94 kB / 1.514 GB, free: 7.453 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.216, allocations: 135.5 kB / 1.514 GB, free: 7.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/1.217, allocations: 47.98 kB / 1.514 GB, free: 7.273 MB / 1.201 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.000231/1.217, allocations: 236 kB / 1.514 GB, free: 7.035 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/1.217, allocations: 151 kB / 1.514 GB, free: 6.887 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/1.219, allocations: 0.6365 MB / 1.515 GB, free: 6.238 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.219, allocations: 4.094 kB / 1.515 GB, free: 6.234 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.219, allocations: 3.984 kB / 1.515 GB, free: 6.23 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.219, allocations: 0 / 1.515 GB, free: 6.23 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/1.223, allocations: 1.89 MB / 1.517 GB, free: 4.234 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/1.223, allocations: 7.938 kB / 1.517 GB, free: 4.227 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/1.223, allocations: 96.02 kB / 1.517 GB, free: 4.133 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.223, allocations: 4 kB / 1.517 GB, free: 4.129 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/1.223, allocations: 15.98 kB / 1.517 GB, free: 4.113 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/1.223, allocations: 4 kB / 1.517 GB, free: 4.109 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.223, allocations: 8 kB / 1.517 GB, free: 4.102 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/1.225, allocations: 0.812 MB / 1.518 GB, free: 3.223 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005821/1.225, allocations: 311.9 kB / 1.518 GB, free: 2.898 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/1.226, allocations: 12 kB / 1.518 GB, free: 2.887 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.227, allocations: 71.86 kB / 1.518 GB, free: 2.816 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/1.227, allocations: 31.91 kB / 1.518 GB, free: 2.785 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/1.227, allocations: 27.97 kB / 1.518 GB, free: 2.758 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001598/1.229, allocations: 1.001 MB / 1.519 GB, free: 1.762 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.8e-07/1.229, allocations: 3.938 kB / 1.519 GB, free: 1.758 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001935/1.231, allocations: 0.5735 MB / 1.52 GB, free: 1.184 MB / 1.201 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.002402/1.233, allocations: 1.524 MB / 1.521 GB, free: 15.6 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002932/1.236, allocations: 1.121 MB / 1.522 GB, free: 14.48 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.236, allocations: 4.875 kB / 1.522 GB, free: 14.48 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006932/1.237, allocations: 266.8 kB / 1.522 GB, free: 14.22 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003799/1.24, allocations: 0.7301 MB / 1.523 GB, free: 13.49 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.258, allocations: 9.827 MB / 1.533 GB, free: 3.121 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008013/1.259, allocations: 1.19 MB / 1.534 GB, free: 1.898 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001402/1.26, allocations: 387.8 kB / 1.534 GB, free: 1.516 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/1.261, allocations: 499.3 kB / 1.535 GB, free: 1.031 MB / 1.217 GB Notification: Performance of SimCode: time 6.71e-07/1.261, allocations: 0 / 1.535 GB, free: 1.031 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06172/1.322, allocations: 35.61 MB / 1.569 GB, free: 13.86 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.748/11.07, allocations: 6.188 kB / 1.569 GB, free: 13.86 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches