Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",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.0007865/0.0007865, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009435/0.0009436, allocations: 172.7 kB / 15.95 MB, free: 208 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.316/1.316, allocations: 223.2 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 11.98 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6046/0.605, allocations: 142.3 MB / 0.9539 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001168/0.6062, allocations: 0.9954 MB / 0.9548 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.6073, allocations: 0.7934 MB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.6074, allocations: 0.5625 kB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.6075, allocations: 8.641 kB / 0.9556 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.943e-05/0.6076, allocations: 10 kB / 0.9556 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.6081, allocations: 140.7 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.6082, allocations: 11.97 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.6083, allocations: 5.297 kB / 0.9558 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.358e-05/0.6083, allocations: 12.22 kB / 0.9558 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.698e-05/0.6083, allocations: 4.062 kB / 0.9558 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.6083, allocations: 5.219 kB / 0.9558 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.6087, allocations: 218.9 kB / 0.956 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.6088, allocations: 15.08 kB / 0.956 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.6088, allocations: 28.58 kB / 0.9561 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.609, allocations: 147.4 kB / 0.9562 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.6091, allocations: 1.031 kB / 0.9562 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6091, allocations: 0 / 0.9562 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.6091, allocations: 0 / 0.9562 GB, free: 6.375 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000293/0.6094, allocations: 379.5 kB / 0.9566 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.6094, allocations: 13.09 kB / 0.9566 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.397e-05/0.6094, allocations: 31.53 kB / 0.9566 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.6095, allocations: 10.08 kB / 0.9566 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.776e-05/0.6096, allocations: 166.6 kB / 0.9568 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.6096, allocations: 5.062 kB / 0.9568 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.6096, allocations: 1.062 kB / 0.9568 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.123e-05/0.6097, allocations: 46.91 kB / 0.9568 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6097, allocations: 0 / 0.9568 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.6097, allocations: 3.938 kB / 0.9568 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.6097, allocations: 1.031 kB / 0.9568 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.6098, allocations: 41.45 kB / 0.9569 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.6099, allocations: 171.1 kB / 0.957 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.146e-05/0.61, allocations: 54.67 kB / 0.9571 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.61, allocations: 22.36 kB / 0.9571 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.6101, allocations: 7.422 kB / 0.9571 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.6101, allocations: 35.91 kB / 0.9571 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6101, allocations: 0 / 0.9571 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.6102, allocations: 88.67 kB / 0.9572 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.6103, allocations: 52.41 kB / 0.9573 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.6104, allocations: 139.4 kB / 0.9574 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.6104, allocations: 30.72 kB / 0.9574 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.6104, allocations: 87.02 kB / 0.9575 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.6104, allocations: 7.891 kB / 0.9575 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.6104, allocations: 1.25 kB / 0.9575 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.733e-05/0.6105, allocations: 321.4 kB / 0.9578 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.6105, allocations: 36.45 kB / 0.9579 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.6106, allocations: 50.72 kB / 0.9579 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.78e-05/0.6106, allocations: 46.73 kB / 0.958 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6106, allocations: 1.031 kB / 0.958 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001308/0.6108, allocations: 129.4 kB / 0.9581 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6108, allocations: 5.125 kB / 0.9581 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6108, allocations: 1.219 kB / 0.9581 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.6108, allocations: 3.984 kB / 0.9581 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.6109, allocations: 11.55 kB / 0.9581 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.6109, allocations: 0 / 0.9581 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.6109, allocations: 8.875 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.6109, allocations: 5.266 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 1 * 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 4.983e-05/0.611, allocations: 111.5 kB / 0.9582 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.611, allocations: 10.27 kB / 0.9582 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.864e-05/0.6111, allocations: 69.25 kB / 0.9583 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.6111, allocations: 3.938 kB / 0.9583 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6111, allocations: 5.344 kB / 0.9583 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.6111, allocations: 0 / 0.9583 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.684e-05/0.6112, allocations: 187.8 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6112, allocations: 0 / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/0.6112, allocations: 1.875 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6112, allocations: 1.938 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.6112, allocations: 0 / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6112, allocations: 0 / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6112, allocations: 0 / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.316e-05/0.6113, allocations: 103.2 kB / 0.9586 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.6113, allocations: 82.61 kB / 0.9587 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.6114, allocations: 5.406 kB / 0.9587 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.6114, allocations: 0 / 0.9587 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.6114, allocations: 9.016 kB / 0.9587 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.6114, allocations: 0 / 0.9587 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.6115, allocations: 106 kB / 0.9588 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6115, allocations: 0 / 0.9588 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002931/0.6118, allocations: 64.64 kB / 0.9589 GB, free: 3.848 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004937/0.6123, allocations: 0.687 MB / 0.9595 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.6124, allocations: 74.59 kB / 0.9596 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6124, allocations: 0 / 0.9596 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.6124, allocations: 21.75 kB / 0.9596 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.6127, allocations: 25.72 kB / 0.9596 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/0.6134, allocations: 0.6709 MB / 0.9603 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.6135, allocations: 0.6878 MB / 0.961 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.6136, allocations: 7.906 kB / 0.961 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.6136, allocations: 22.14 kB / 0.961 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6136, allocations: 0 / 0.961 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.6267, allocations: 3.101 MB / 0.964 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001213/0.6269, allocations: 251.4 kB / 0.9643 GB, free: 300 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.257, allocations: 0 / 0.9643 GB, free: 300 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat does not exist to compare? outputFormat=mat