Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_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.001651/0.001651, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001958/0.001958, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.472/2.472, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.318/4.318, allocations: 409.2 MB / 0.6838 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005726/0.0005728, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312/1.312, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.006133/1.319, allocations: 2.456 MB / 0.9833 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004471/1.323, allocations: 1.368 MB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005386/1.324, allocations: 7.938 kB / 0.9846 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005918/1.324, allocations: 75.47 kB / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007364/1.325, allocations: 142 kB / 0.9848 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/1.327, allocations: 329.6 kB / 0.9851 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009709/1.328, allocations: 328 kB / 0.9854 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/1.328, allocations: 140.4 kB / 0.9856 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/1.329, allocations: 147.3 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/1.329, allocations: 147.2 kB / 0.9859 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/1.329, allocations: 8 kB / 0.9859 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/1.329, allocations: 47.92 kB / 0.9859 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/1.33, allocations: 71.67 kB / 0.986 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/1.33, allocations: 93.45 kB / 0.9861 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008641/1.331, allocations: 453.1 kB / 0.9865 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.331, allocations: 0 / 0.9865 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.916e-06/1.331, allocations: 0 / 0.9865 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.16e-05/1.331, allocations: 0 / 0.9865 GB, free: 0.5078 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.002279/1.333, allocations: 0.7219 MB / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.479e-05/1.333, allocations: 12.03 kB / 0.9872 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/1.333, allocations: 62.53 kB / 0.9873 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/1.333, allocations: 51.34 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/1.334, allocations: 425.5 kB / 0.9877 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/1.335, allocations: 20.56 kB / 0.9878 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/1.335, allocations: 31.98 kB / 0.9878 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/1.336, allocations: 327.9 kB / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/1.336, allocations: 3.938 kB / 0.9881 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/1.336, allocations: 16 kB / 0.9881 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/1.336, allocations: 11.94 kB / 0.9881 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/1.337, allocations: 206.1 kB / 0.9883 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/1.339, allocations: 1.108 MB / 0.9894 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000942/1.34, allocations: 243.4 kB / 0.9896 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-05/1.34, allocations: 8.156 kB / 0.9896 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006136/1.341, allocations: 168.7 kB / 0.9898 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 3.917e-06/1.341, allocations: 0 / 0.9898 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.001634/1.343, allocations: 358.7 kB / 0.9902 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.343, allocations: 106.8 kB / 0.9903 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/1.344, allocations: 446 kB / 0.9907 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/1.344, allocations: 29.7 kB / 0.9907 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/1.344, allocations: 240.3 kB / 0.9909 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/1.344, allocations: 71 kB / 0.991 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/1.345, allocations: 7.938 kB / 0.991 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000264/1.345, allocations: 350.8 kB / 0.9913 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/1.345, allocations: 87.95 kB / 0.9914 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/1.346, allocations: 155.7 kB / 0.9916 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/1.346, allocations: 100.6 kB / 0.9917 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.346, allocations: 3.938 kB / 0.9917 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00106/1.347, allocations: 310.7 kB / 0.992 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/1.347, allocations: 7.953 kB / 0.992 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.347, allocations: 0 / 0.992 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.347, allocations: 4 kB / 0.992 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/1.348, allocations: 52.12 kB / 0.992 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/1.348, allocations: 7.938 kB / 0.992 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/1.348, allocations: 31.73 kB / 0.9921 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/1.348, allocations: 12 kB / 0.9921 GB, free: 10.49 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 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003813/1.348, allocations: 181.7 kB / 0.9923 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/1.349, allocations: 43.44 kB / 0.9923 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/1.349, allocations: 47.78 kB / 0.9923 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.349, allocations: 8 kB / 0.9924 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.349, allocations: 0 / 0.9924 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/1.349, allocations: 0 / 0.9924 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/1.349, allocations: 409.4 kB / 0.9927 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.35, allocations: 0 / 0.9927 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/1.35, allocations: 35.97 kB / 0.9928 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/1.35, allocations: 0 / 0.9928 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/1.35, allocations: 8 kB / 0.9928 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/1.35, allocations: 3.953 kB / 0.9928 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.35, allocations: 4 kB / 0.9928 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/1.351, allocations: 438.7 kB / 0.9932 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/1.352, allocations: 152.4 kB / 0.9934 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.403e-05/1.352, allocations: 12 kB / 0.9934 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/1.352, allocations: 15.98 kB / 0.9934 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.352, allocations: 23.92 kB / 0.9934 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/1.352, allocations: 4 kB / 0.9934 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006604/1.353, allocations: 319.1 kB / 0.9937 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.1e-07/1.353, allocations: 0 / 0.9937 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006363/1.354, allocations: 79.91 kB / 0.9938 GB, free: 8.645 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 (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.003399/1.357, allocations: 1.285 MB / 0.995 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009672/1.358, allocations: 227.9 kB / 0.9953 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.358, allocations: 0 / 0.9953 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004377/1.358, allocations: 115.9 kB / 0.9954 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009547/1.359, allocations: 96.36 kB / 0.9955 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007455/1.367, allocations: 2.999 MB / 0.9984 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/1.368, allocations: 0.8229 MB / 0.9992 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004669/1.368, allocations: 59.17 kB / 0.9993 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/1.369, allocations: 143.4 kB / 0.9994 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of SimCode: time 1.122e-06/1.369, allocations: 0 / 0.9994 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/1.409, allocations: 8.324 MB / 1.008 GB, free: 10.89 MB / 0.7638 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005423/1.41, allocations: 263 kB / 1.008 GB, free: 10.54 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/4.76, allocations: 4.438 kB / 1.008 GB, free: 10.54 MB / 0.7638 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat does not exist to compare? outputFormat=mat