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.0009393/0.0009394, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001091/0.001092, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6643, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003507/0.6678, allocations: 2.459 MB / 0.9836 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002564/0.6704, allocations: 1.4 MB / 0.9849 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003811/0.6708, allocations: 15.88 kB / 0.9849 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.6712, allocations: 91.45 kB / 0.985 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.6715, allocations: 103.4 kB / 0.9851 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.6724, allocations: 317.2 kB / 0.9854 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.6729, allocations: 467.4 kB / 0.9859 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.6732, allocations: 148.3 kB / 0.986 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.6734, allocations: 143.2 kB / 0.9861 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.6736, allocations: 147.1 kB / 0.9863 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.6737, allocations: 8 kB / 0.9863 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.6738, allocations: 59.91 kB / 0.9864 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.461e-05/0.6739, allocations: 63.69 kB / 0.9864 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.674, allocations: 97.45 kB / 0.9865 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.6745, allocations: 453.1 kB / 0.9869 GB, free: 284 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6745, allocations: 4 kB / 0.9869 GB, free: 280 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6745, allocations: 3.938 kB / 0.9869 GB, free: 276 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.6745, allocations: 0 / 0.9869 GB, free: 276 kB / 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.001154/0.6757, allocations: 0.722 MB / 0.9876 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.6757, allocations: 12.03 kB / 0.9877 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.744e-05/0.6758, allocations: 62.48 kB / 0.9877 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.6759, allocations: 51.34 kB / 0.9878 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006161/0.6765, allocations: 413.6 kB / 0.9882 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.6766, allocations: 20.56 kB / 0.9882 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.6766, allocations: 28 kB / 0.9882 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.6772, allocations: 331.8 kB / 0.9885 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.6772, allocations: 4 kB / 0.9885 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.6773, allocations: 8 kB / 0.9885 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.6773, allocations: 12 kB / 0.9885 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.6778, allocations: 214.1 kB / 0.9888 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.6792, allocations: 1.108 MB / 0.9898 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.6798, allocations: 239.5 kB / 0.9901 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.6801, allocations: 113.2 kB / 0.9902 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.445e-05/0.6801, allocations: 12.08 kB / 0.9902 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003726/0.6805, allocations: 168.7 kB / 0.9903 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.853e-06/0.6805, allocations: 0 / 0.9903 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0008218/0.6813, allocations: 355.1 kB / 0.9907 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.6814, allocations: 114.8 kB / 0.9908 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.6819, allocations: 442 kB / 0.9912 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.6819, allocations: 33.7 kB / 0.9912 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.6821, allocations: 240.3 kB / 0.9915 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.6822, allocations: 70.98 kB / 0.9915 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.6822, allocations: 4 kB / 0.9915 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6823, allocations: 354.8 kB / 0.9919 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.6826, allocations: 91.89 kB / 0.992 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.6828, allocations: 159.7 kB / 0.9921 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.6831, allocations: 97.59 kB / 0.9922 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6831, allocations: 0 / 0.9922 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005898/0.6837, allocations: 304.8 kB / 0.9925 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6837, allocations: 4 kB / 0.9925 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6837, allocations: 4 kB / 0.9925 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6838, allocations: 3.984 kB / 0.9925 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.684, allocations: 60.06 kB / 0.9926 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.684, allocations: 7.938 kB / 0.9926 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.6842, allocations: 31.73 kB / 0.9926 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.6843, allocations: 8 kB / 0.9926 GB, free: 10.14 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.0001913/0.6845, allocations: 177.8 kB / 0.9928 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.6845, allocations: 47.39 kB / 0.9928 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/0.6846, allocations: 47.78 kB / 0.9929 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6847, allocations: 8 kB / 0.9929 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6847, allocations: 48 / 0.9929 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.6847, allocations: 7.969 kB / 0.9929 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.6851, allocations: 401.4 kB / 0.9933 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6851, allocations: 7.938 kB / 0.9933 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.6853, allocations: 39.97 kB / 0.9933 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.6853, allocations: 4 kB / 0.9933 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.6853, allocations: 3.953 kB / 0.9933 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6854, allocations: 0 / 0.9933 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6854, allocations: 4 kB / 0.9933 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008514/0.6862, allocations: 442.7 kB / 0.9938 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.6864, allocations: 144.5 kB / 0.9939 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.6864, allocations: 11.98 kB / 0.9939 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.6866, allocations: 15.94 kB / 0.9939 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.6867, allocations: 15.98 kB / 0.9939 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.6867, allocations: 11.98 kB / 0.994 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003558/0.6871, allocations: 319.1 kB / 0.9943 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6871, allocations: 0 / 0.9943 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003456/0.6874, allocations: 79.91 kB / 0.9943 GB, free: 8.297 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.001941/0.6894, allocations: 1.286 MB / 0.9956 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005399/0.6899, allocations: 227.9 kB / 0.9958 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.69, allocations: 7.938 kB / 0.9958 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.6902, allocations: 114.5 kB / 0.9959 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.6907, allocations: 100.1 kB / 0.996 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.6949, allocations: 2.274 MB / 0.9982 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.6954, allocations: 0.819 MB / 0.999 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002354/0.6956, allocations: 55.23 kB / 0.9991 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.6959, allocations: 139.4 kB / 0.9992 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of SimCode: time 7.62e-07/0.6959, allocations: 0 / 0.9992 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.7162, allocations: 8.344 MB / 1.007 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.7165, allocations: 277.3 kB / 1.008 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.673, allocations: 0 / 1.008 GB, free: 10.9 MB / 0.7637 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