Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001315/0.001315, allocations: 196.6 kB / 16.14 MB, free: 6.711 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.8685 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6026/0.6039, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004184/0.6081, allocations: 2.961 MB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.6105, allocations: 1.488 MB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.6107, allocations: 19.88 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.6111, allocations: 87.52 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.6115, allocations: 119.3 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.6123, allocations: 372.1 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.6128, allocations: 499.2 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.6131, allocations: 205.1 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.6133, allocations: 175.1 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.6136, allocations: 179 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.6136, allocations: 16 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.6138, allocations: 67.91 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.6139, allocations: 83.61 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.6141, allocations: 190.8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.6146, allocations: 0.5587 MB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6146, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.51e-07/0.6146, allocations: 4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6146, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001197/0.6158, allocations: 0.7843 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.6159, allocations: 8.031 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.522e-05/0.616, allocations: 60.27 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.6165, allocations: 438.4 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.6166, allocations: 20.94 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.6166, allocations: 27.94 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/0.6172, allocations: 335.8 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.6173, allocations: 0 / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.6173, allocations: 8 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.6173, allocations: 8 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/0.6178, allocations: 214.1 kB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.6192, allocations: 1.1 MB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.6199, allocations: 238.9 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.6201, allocations: 112.8 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.6202, allocations: 0 / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/0.6206, allocations: 160.9 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.6206, allocations: 0 / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008783/0.6215, allocations: 362.4 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.6215, allocations: 102.8 kB / 1.027 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.622, allocations: 453.8 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.6221, allocations: 37.64 kB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.6222, allocations: 232.5 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.6223, allocations: 67 kB / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.6224, allocations: 57.7 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6226, allocations: 354.8 kB / 1.028 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.6228, allocations: 87.95 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.6231, allocations: 151.7 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.6236, allocations: 223.4 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.6236, allocations: 4 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006078/0.6242, allocations: 296.7 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6242, allocations: 4 kB / 1.029 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6242, allocations: 4 kB / 1.029 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6242, allocations: 0 / 1.029 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.6245, allocations: 64.06 kB / 1.029 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6245, allocations: 3.984 kB / 1.029 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.6247, allocations: 23.84 kB / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.6247, allocations: 11.98 kB / 1.029 GB, free: 5.512 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0002124/0.625, allocations: 178.2 kB / 1.029 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.625, allocations: 47.38 kB / 1.029 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.6251, allocations: 47.84 kB / 1.03 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6252, allocations: 4 kB / 1.03 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6252, allocations: 4 kB / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6252, allocations: 3.984 kB / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.6256, allocations: 413.2 kB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6256, allocations: 3.938 kB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.6258, allocations: 35.98 kB / 1.03 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6258, allocations: 3.938 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.6259, allocations: 3.984 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.6259, allocations: 4 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6259, allocations: 0 / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.6267, allocations: 427 kB / 1.03 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.6269, allocations: 148.5 kB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.627, allocations: 7.984 kB / 1.031 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.6271, allocations: 11.98 kB / 1.031 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.6272, allocations: 24.03 kB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.6273, allocations: 8 kB / 1.031 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003493/0.6276, allocations: 319.1 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.6276, allocations: 0 / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003417/0.628, allocations: 75.84 kB / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009957/0.629, allocations: 426.2 kB / 1.031 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005797/0.6296, allocations: 228.6 kB / 1.032 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6296, allocations: 4 kB / 1.032 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.6298, allocations: 103.9 kB / 1.032 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.6304, allocations: 109.2 kB / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.6317, allocations: 0.8146 MB / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.6321, allocations: 0.8112 MB / 1.033 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.6323, allocations: 59.23 kB / 1.033 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.649e-05/0.6324, allocations: 35.42 kB / 1.033 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6324, allocations: 0 / 1.033 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of Templates: time 0.009445/0.6419, allocations: 4.515 MB / 1.038 GB, free: 12.79 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches