Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001347/0.001347, allocations: 100.1 kB / 15.88 MB, free: 12 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.001455/0.001455, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.534/1.534, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.463/2.463, allocations: 390.2 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 63.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.8113, allocations: 140.3 MB / 0.9496 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004326/0.8156, allocations: 2.955 MB / 0.9525 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.8182, allocations: 1.488 MB / 0.9539 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.8186, allocations: 12.56 kB / 0.9539 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.819, allocations: 80.31 kB / 0.954 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.8194, allocations: 119.6 kB / 0.9541 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.8202, allocations: 374.3 kB / 0.9545 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.8207, allocations: 0.4949 MB / 0.955 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.821, allocations: 200.5 kB / 0.9552 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.8212, allocations: 168.6 kB / 0.9553 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.8214, allocations: 187.4 kB / 0.9555 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.997e-05/0.8215, allocations: 16.66 kB / 0.9555 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.8217, allocations: 65.7 kB / 0.9556 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.8218, allocations: 91.78 kB / 0.9557 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.8219, allocations: 187.2 kB / 0.9558 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.8224, allocations: 466.6 kB / 0.9563 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8224, allocations: 0 / 0.9563 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8224, allocations: 0 / 0.9563 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.8224, allocations: 1.188 kB / 0.9563 GB, free: 3.934 MB / 0.7169 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.001301/0.8237, allocations: 0.7935 MB / 0.9571 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8237, allocations: 10.03 kB / 0.9571 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.8239, allocations: 58.56 kB / 0.9571 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.8244, allocations: 429.4 kB / 0.9575 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.8245, allocations: 20.91 kB / 0.9576 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.8245, allocations: 33.88 kB / 0.9576 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.8251, allocations: 324.6 kB / 0.9579 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.8251, allocations: 5.344 kB / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.8252, allocations: 14.09 kB / 0.9579 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.8252, allocations: 10.66 kB / 0.9579 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.8257, allocations: 210.5 kB / 0.9581 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.8269, allocations: 1.104 MB / 0.9592 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/0.8275, allocations: 234 kB / 0.9594 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.8277, allocations: 119.5 kB / 0.9595 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.8278, allocations: 10.11 kB / 0.9596 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004287/0.8282, allocations: 151.9 kB / 0.9597 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 2.264e-06/0.8282, allocations: 0 / 0.9597 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0008314/0.8291, allocations: 353.3 kB / 0.96 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.8291, allocations: 117.4 kB / 0.9602 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.8296, allocations: 453.4 kB / 0.9606 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.8296, allocations: 31.89 kB / 0.9606 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.8298, allocations: 228.5 kB / 0.9608 GB, free: 352 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.8298, allocations: 68.42 kB / 0.9609 GB, free: 292 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.8299, allocations: 54.78 kB / 0.961 GB, free: 252 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.83, allocations: 352.3 kB / 0.9613 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.8303, allocations: 87.02 kB / 0.9614 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.8306, allocations: 154.2 kB / 0.9615 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.8311, allocations: 218.5 kB / 0.9617 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.8311, allocations: 0 / 0.9617 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006268/0.8317, allocations: 314.9 kB / 0.962 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8317, allocations: 5.938 kB / 0.962 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.8318, allocations: 5.266 kB / 0.962 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.8318, allocations: 3.375 kB / 0.962 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.832, allocations: 46.03 kB / 0.9621 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.832, allocations: 6.5 kB / 0.9621 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.8322, allocations: 26.95 kB / 0.9621 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.8323, allocations: 14.91 kB / 0.9621 GB, free: 15.38 MB / 0.7325 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.000213/0.8325, allocations: 179.4 kB / 0.9623 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.8326, allocations: 47.91 kB / 0.9623 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.748e-05/0.8327, allocations: 45.33 kB / 0.9624 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.8327, allocations: 1.562 kB / 0.9624 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.8327, allocations: 0.9375 kB / 0.9624 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8327, allocations: 0 / 0.9624 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.8331, allocations: 414.3 kB / 0.9628 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.8332, allocations: 7.938 kB / 0.9628 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.8334, allocations: 34.81 kB / 0.9628 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8334, allocations: 1.094 kB / 0.9628 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.8334, allocations: 6.312 kB / 0.9628 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.8334, allocations: 5.094 kB / 0.9628 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8334, allocations: 4.891 kB / 0.9628 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008786/0.8343, allocations: 421.1 kB / 0.9632 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.8345, allocations: 151.3 kB / 0.9634 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.8346, allocations: 6.281 kB / 0.9634 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.8347, allocations: 13.8 kB / 0.9634 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.8348, allocations: 21.81 kB / 0.9634 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.8348, allocations: 5.062 kB / 0.9634 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003779/0.8352, allocations: 315.5 kB / 0.9637 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8352, allocations: 5.219 kB / 0.9637 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003563/0.8356, allocations: 76.36 kB / 0.9638 GB, free: 14.15 MB / 0.7325 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.001084/0.8367, allocations: 431 kB / 0.9642 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005674/0.8373, allocations: 218.6 kB / 0.9644 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.8373, allocations: 4.312 kB / 0.9644 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.8376, allocations: 122.8 kB / 0.9646 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.8381, allocations: 97.08 kB / 0.9646 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.8395, allocations: 0.8506 MB / 0.9655 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.84, allocations: 0.8208 MB / 0.9663 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.8401, allocations: 34.86 kB / 0.9663 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.8401, allocations: 0 / 0.9663 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.009563/0.8497, allocations: 5.608 MB / 0.9718 GB, free: 9.441 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches