Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",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.001198/0.001198, allocations: 108 kB / 15.61 MB, free: 152 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.001137/0.001137, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.662/2.662, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 62.97 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2629, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004386/0.2673, allocations: 2.93 MB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002499/0.2698, allocations: 1.512 MB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.2701, allocations: 11.94 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.2704, allocations: 107.1 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.2708, allocations: 143 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008977/0.2717, allocations: 413.6 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005665/0.2723, allocations: 0.5305 MB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.2726, allocations: 201.1 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.2728, allocations: 199.1 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.2731, allocations: 210.9 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.2732, allocations: 44 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.2733, allocations: 87.92 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2735, allocations: 107.7 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.2737, allocations: 214.7 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.2743, allocations: 0.5804 MB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.2743, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2743, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.2743, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 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.001135/0.2755, allocations: 0.8037 MB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.612e-05/0.2755, allocations: 12.03 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.64e-05/0.2756, allocations: 58.73 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.2757, allocations: 52.36 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.2762, allocations: 438.4 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.2763, allocations: 24.69 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.2763, allocations: 24 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.2769, allocations: 323.9 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2769, allocations: 4 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.2769, allocations: 12 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2769, allocations: 8 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.2774, allocations: 214.1 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.2787, allocations: 1.112 MB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.2793, allocations: 230.9 kB / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.2796, allocations: 116.8 kB / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2796, allocations: 4 kB / 1.074 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/0.2799, allocations: 151.3 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.572e-06/0.2799, allocations: 0 / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0007774/0.2807, allocations: 355.5 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.2808, allocations: 114.7 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.2813, allocations: 453.8 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.2813, allocations: 29.7 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.2815, allocations: 228.5 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.2816, allocations: 74.98 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/0.2817, allocations: 57.61 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.2818, allocations: 354.8 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.2821, allocations: 83.95 kB / 1.076 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.2823, allocations: 156.9 kB / 1.076 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.2828, allocations: 227.3 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2828, allocations: 0 / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005822/0.2834, allocations: 296.8 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2834, allocations: 8 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2834, allocations: 0 / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2834, allocations: 4 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.2837, allocations: 51.91 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2837, allocations: 8.156 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2838, allocations: 35.67 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.2839, allocations: 11.98 kB / 1.077 GB, free: 0.5781 MB / 0.8262 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.0001795/0.2841, allocations: 174.7 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.2841, allocations: 47.45 kB / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.874e-05/0.2842, allocations: 43.84 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2842, allocations: 4 kB / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.2842, allocations: 0 / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2842, allocations: 4 kB / 1.077 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.2847, allocations: 413.2 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2847, allocations: 3.984 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.2849, allocations: 35.98 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2849, allocations: 8.031 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.2849, allocations: 3.984 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2849, allocations: 7.875 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2849, allocations: 0 / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008245/0.2858, allocations: 430.9 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.2859, allocations: 136.6 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.286, allocations: 4 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.2861, allocations: 15.98 kB / 1.078 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.2862, allocations: 19.97 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.2862, allocations: 12.06 kB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003456/0.2866, allocations: 319.1 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2866, allocations: 0 / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000296/0.2869, allocations: 75.84 kB / 1.079 GB, free: 14.76 MB / 0.8419 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.002365/0.2892, allocations: 1.279 MB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005624/0.2898, allocations: 238.3 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2898, allocations: 0 / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.2901, allocations: 120.1 kB / 1.08 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.2906, allocations: 99.2 kB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.295, allocations: 3.476 MB / 1.084 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.2954, allocations: 0.8071 MB / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.2956, allocations: 55.23 kB / 1.085 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.2958, allocations: 143.4 kB / 1.085 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.2958, allocations: 0 / 1.085 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9914/1.287, allocations: 8.854 MB / 1.093 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.87/20.16, allocations: 8.438 kB / 1.093 GB, free: 15.93 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches