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.001433/0.001433, allocations: 103.6 kB / 16.35 MB, free: 6.285 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.00155/0.00155, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.162/2.162, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 60.94 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2343, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004698/0.239, allocations: 2.931 MB / 0.954 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002577/0.2416, allocations: 1.508 MB / 0.9555 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.242, allocations: 11.94 kB / 0.9555 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.2424, allocations: 103.1 kB / 0.9556 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.2429, allocations: 147 kB / 0.9557 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009761/0.2439, allocations: 418.7 kB / 0.9561 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006255/0.2445, allocations: 0.5266 MB / 0.9566 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.2449, allocations: 209.1 kB / 0.9568 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.2452, allocations: 207.1 kB / 0.957 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.2455, allocations: 195 kB / 0.9572 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.2455, allocations: 40 kB / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.2458, allocations: 103.9 kB / 0.9573 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.2459, allocations: 107.6 kB / 0.9574 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.2461, allocations: 210.7 kB / 0.9576 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.2467, allocations: 0.6034 MB / 0.9582 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2468, allocations: 0 / 0.9582 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.885e-06/0.2468, allocations: 0 / 0.9582 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.2468, allocations: 3.938 kB / 0.9582 GB, free: 0.7266 MB / 0.7325 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.001294/0.2481, allocations: 0.7884 MB / 0.959 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2481, allocations: 8.031 kB / 0.959 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.2482, allocations: 52.28 kB / 0.9591 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/0.2489, allocations: 446.4 kB / 0.9595 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.249, allocations: 20.94 kB / 0.9595 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.249, allocations: 27.94 kB / 0.9595 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.2496, allocations: 327.9 kB / 0.9598 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2496, allocations: 3.984 kB / 0.9599 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.2497, allocations: 12 kB / 0.9599 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2497, allocations: 11.94 kB / 0.9599 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.2502, allocations: 218.1 kB / 0.9601 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.2516, allocations: 1.093 MB / 0.9612 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.2522, allocations: 234.9 kB / 0.9614 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.2524, allocations: 116.8 kB / 0.9615 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.2525, allocations: 15.98 kB / 0.9615 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.2528, allocations: 153.5 kB / 0.9616 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.2528, allocations: 0 / 0.9616 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0008302/0.2537, allocations: 358.7 kB / 0.962 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.2537, allocations: 106.8 kB / 0.9621 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.2542, allocations: 453.8 kB / 0.9625 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.2543, allocations: 29.7 kB / 0.9626 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.2545, allocations: 228.5 kB / 0.9628 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.2545, allocations: 75 kB / 0.9628 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.131e-05/0.2546, allocations: 49.7 kB / 0.9629 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2548, allocations: 354.8 kB / 0.9632 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.255, allocations: 87.95 kB / 0.9633 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.2553, allocations: 156.1 kB / 0.9635 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.2557, allocations: 218.7 kB / 0.9637 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2558, allocations: 0 / 0.9637 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006012/0.2564, allocations: 307.2 kB / 0.964 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2564, allocations: 8 kB / 0.964 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2564, allocations: 0 / 0.964 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2564, allocations: 4 kB / 0.964 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.2567, allocations: 51.89 kB / 0.964 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2567, allocations: 4 kB / 0.964 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.2569, allocations: 35.92 kB / 0.9641 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.2569, allocations: 7.938 kB / 0.9641 GB, free: 10.43 MB / 0.7481 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.0001948/0.2571, allocations: 181.8 kB / 0.9642 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.2572, allocations: 47.38 kB / 0.9643 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.2573, allocations: 43.84 kB / 0.9643 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.2573, allocations: 4 kB / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2573, allocations: 0 / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.2573, allocations: 3.984 kB / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.2577, allocations: 421.2 kB / 0.9647 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2577, allocations: 3.938 kB / 0.9647 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.258, allocations: 39.91 kB / 0.9648 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.258, allocations: 0 / 0.9648 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.258, allocations: 8 kB / 0.9648 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.258, allocations: 0 / 0.9648 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.258, allocations: 0 / 0.9648 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008308/0.2588, allocations: 416.4 kB / 0.9652 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.259, allocations: 144.4 kB / 0.9653 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.2591, allocations: 15.94 kB / 0.9653 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.2592, allocations: 11.98 kB / 0.9653 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.2593, allocations: 23.97 kB / 0.9654 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.2593, allocations: 4 kB / 0.9654 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000363/0.2597, allocations: 323.2 kB / 0.9657 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2597, allocations: 0 / 0.9657 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003303/0.26, allocations: 79.84 kB / 0.9658 GB, free: 8.594 MB / 0.7481 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.0009572/0.261, allocations: 420.5 kB / 0.9662 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005571/0.2616, allocations: 225.5 kB / 0.9664 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2616, allocations: 4.062 kB / 0.9664 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.2619, allocations: 111.9 kB / 0.9665 GB, free: 8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.2624, allocations: 108.9 kB / 0.9666 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2636, allocations: 0.6843 MB / 0.9673 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.264, allocations: 0.8184 MB / 0.9681 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.2642, allocations: 55.23 kB / 0.9681 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.2643, allocations: 39.42 kB / 0.9681 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.2643, allocations: 0 / 0.9681 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of Templates: time 0.009817/0.2741, allocations: 4.743 MB / 0.9728 GB, free: 1.605 MB / 0.7481 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 -s gbode -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