Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.267/4.267, allocations: 433.2 MB / 440.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.249e-05, allocations: 3.5 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2229, allocations: 98.73 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2407/0.4637, allocations: 128.7 MB / 0.7546 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/0.4641, allocations: 99.91 kB / 0.7547 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03017/0.4943, allocations: 6.698 MB / 0.7612 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4944, allocations: 0 / 0.7612 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.09e-05/0.4944, allocations: 12 kB / 0.7612 GB, free: 1.398 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001527/0.496, allocations: 0.617 MB / 0.7618 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.496, allocations: 8.031 kB / 0.7619 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.4962, allocations: 47.48 kB / 0.7619 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.4967, allocations: 294.2 kB / 0.7622 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.4968, allocations: 12 kB / 0.7622 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.4969, allocations: 24 kB / 0.7622 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007182/0.4976, allocations: 257.4 kB / 0.7625 GB, free: 60 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008169/0.4985, allocations: 313 kB / 0.7628 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.4985, allocations: 0 / 0.7628 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.4986, allocations: 4 kB / 0.7628 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/0.4986, allocations: 16.52 kB / 0.7628 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.5009, allocations: 0.9321 MB / 0.7637 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.5015, allocations: 268.2 kB / 0.7639 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.5019, allocations: 133.3 kB / 0.7641 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.244e-05/0.5019, allocations: 4.281 kB / 0.7641 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004969/0.5024, allocations: 207.2 kB / 0.7643 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 3.426e-06/0.5025, allocations: 0 / 0.7643 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.0008634/0.5033, allocations: 301 kB / 0.7646 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.5034, allocations: 63.39 kB / 0.7646 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.5037, allocations: 213.8 kB / 0.7648 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.5038, allocations: 45.64 kB / 0.7649 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.5039, allocations: 160.8 kB / 0.765 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.5041, allocations: 86.86 kB / 0.7651 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.5041, allocations: 4 kB / 0.7651 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5043, allocations: 342.8 kB / 0.7654 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.5047, allocations: 121.1 kB / 0.7655 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.5051, allocations: 186 kB / 0.7657 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.5055, allocations: 128.7 kB / 0.7658 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5055, allocations: 0 / 0.7658 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001091/0.5066, allocations: 395.6 kB / 0.7662 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.944e-05/0.5067, allocations: 67.55 kB / 0.7663 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.5067, allocations: 4 kB / 0.7663 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.5067, allocations: 0 / 0.7663 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.5072, allocations: 59.84 kB / 0.7664 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.5072, allocations: 4 kB / 0.7664 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.5077, allocations: 51.8 kB / 0.7664 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/0.5078, allocations: 20 kB / 0.7664 GB, free: 11.83 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,$PRE.chiNumOn.y,chiNumOn.y,$PRE.chiNumOn.nextTime,chiNumOn.nextTime,$PRE.chiNumOn.index,chiNumOn.index,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.508, allocations: 146.1 kB / 0.7666 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007786/0.5088, allocations: 308.8 kB / 0.7669 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.5089, allocations: 35.61 kB / 0.7669 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008995/0.5098, allocations: 340.5 kB / 0.7672 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.5098, allocations: 4 kB / 0.7672 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5098, allocations: 0 / 0.7672 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5098, allocations: 0 / 0.7672 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.5116, allocations: 0.7838 MB / 0.768 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5116, allocations: 0 / 0.768 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.5119, allocations: 43.91 kB / 0.768 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.5119, allocations: 4 kB / 0.768 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.512, allocations: 0 / 0.768 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.512, allocations: 7.953 kB / 0.768 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.512, allocations: 0 / 0.768 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008516/0.5129, allocations: 418.9 kB / 0.7684 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-05/0.513, allocations: 100.8 kB / 0.7685 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.513, allocations: 7.984 kB / 0.7685 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.5135, allocations: 43.95 kB / 0.7686 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.5137, allocations: 51.88 kB / 0.7686 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-05/0.5138, allocations: 23.92 kB / 0.7687 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001779/0.514, allocations: 144.7 kB / 0.7688 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/0.514, allocations: 0 / 0.7688 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006247/0.5146, allocations: 72 kB / 0.7689 GB, free: 9.23 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse1,$cse2,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.nextTime,chiNumOn.index) * Number of discrete states: 6 (chiNumOn.nextTime,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001391/0.516, allocations: 1.012 MB / 0.7699 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009386/0.517, allocations: 424.3 kB / 0.7703 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.517, allocations: 3.938 kB / 0.7703 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.5174, allocations: 151.9 kB / 0.7704 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.5179, allocations: 27.88 kB / 0.7704 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.5196, allocations: 481.7 kB / 0.7709 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.5201, allocations: 0.7845 MB / 0.7717 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003628/0.5205, allocations: 47.27 kB / 0.7717 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.5208, allocations: 91.41 kB / 0.7718 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of SimCode: time 1.323e-06/0.5208, allocations: 0 / 0.7718 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05217/0.573, allocations: 6.012 MB / 0.7777 GB, free: 128 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.6214/1.194, allocations: 201.2 kB / 0.7779 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/4.026, allocations: 0 / 0.7779 GB, free: 146.1 MB / 0.6511 GB