Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_latest_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_latest_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.0007513/0.0007513, allocations: 91.77 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.0008233/0.0008233, 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.305/1.305, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.344/2.344, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 16 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/0.5778, allocations: 146.8 MB / 0.9812 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001164/0.579, allocations: 0.9925 MB / 0.9821 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.5801, allocations: 0.7985 MB / 0.9829 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.5801, allocations: 0 / 0.9829 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.5803, allocations: 7.984 kB / 0.9829 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.491e-05/0.5803, allocations: 3.938 kB / 0.9829 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.5807, allocations: 139.7 kB / 0.9831 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.132e-05/0.5808, allocations: 16 kB / 0.9831 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.5808, allocations: 0 / 0.9831 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.5808, allocations: 11.92 kB / 0.9831 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.579e-05/0.5809, allocations: 8 kB / 0.9831 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.114e-06/0.5809, allocations: 0 / 0.9831 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.5812, allocations: 219.6 kB / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.5813, allocations: 11.98 kB / 0.9833 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.5813, allocations: 37.64 kB / 0.9833 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.5815, allocations: 142 kB / 0.9835 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5815, allocations: 3.938 kB / 0.9835 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5816, allocations: 8 kB / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.5816, allocations: 0 / 0.9835 GB, free: 3.852 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003166/0.5819, allocations: 375.1 kB / 0.9839 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.5819, allocations: 8.031 kB / 0.9839 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.582, allocations: 30.56 kB / 0.9839 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.02e-05/0.582, allocations: 7.906 kB / 0.9839 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.5821, allocations: 167 kB / 0.9841 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.5821, allocations: 0 / 0.9841 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.5821, allocations: 7.953 kB / 0.9841 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.484e-05/0.5822, allocations: 49.62 kB / 0.9841 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.5822, allocations: 0 / 0.9841 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.5822, allocations: 0 / 0.9841 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5823, allocations: 8 kB / 0.9841 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.5823, allocations: 27.98 kB / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.5825, allocations: 177.6 kB / 0.9843 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.5825, allocations: 54.55 kB / 0.9844 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.5826, allocations: 24.92 kB / 0.9844 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.5826, allocations: 11.92 kB / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.5826, allocations: 42.5 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5827, allocations: 0 / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001408/0.5828, allocations: 77.69 kB / 0.9845 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.5828, allocations: 59.33 kB / 0.9846 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.5829, allocations: 135.5 kB / 0.9847 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.583, allocations: 25.83 kB / 0.9847 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.583, allocations: 96.05 kB / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.583, allocations: 11.89 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.583, allocations: 0 / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.5831, allocations: 314.8 kB / 0.9851 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.5832, allocations: 43.92 kB / 0.9852 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.547e-05/0.5832, allocations: 51.95 kB / 0.9852 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.698e-05/0.5833, allocations: 43.92 kB / 0.9853 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5833, allocations: 0 / 0.9853 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001295/0.5834, allocations: 121.7 kB / 0.9854 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5834, allocations: 11.95 kB / 0.9854 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5835, allocations: 0 / 0.9854 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.5835, allocations: 0 / 0.9854 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.5835, allocations: 4 kB / 0.9854 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.5835, allocations: 3.984 kB / 0.9854 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.5835, allocations: 7.844 kB / 0.9854 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.5836, allocations: 4 kB / 0.9854 GB, free: 1.664 MB / 0.7325 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 6.79e-05/0.5836, allocations: 113.8 kB / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.5836, allocations: 0 / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.5838, allocations: 89.09 kB / 0.9856 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5838, allocations: 0 / 0.9856 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5838, allocations: 0 / 0.9856 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.5838, allocations: 0 / 0.9856 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.5839, allocations: 181.5 kB / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5839, allocations: 0 / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.5839, allocations: 4 kB / 0.9858 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5839, allocations: 96 / 0.9858 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.5839, allocations: 3.984 kB / 0.9858 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.5839, allocations: 3.953 kB / 0.9858 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.584, allocations: 8.031 kB / 0.9858 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.771e-05/0.584, allocations: 93.05 kB / 0.9859 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.5841, allocations: 81.02 kB / 0.986 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.5841, allocations: 4 kB / 0.986 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/0.5841, allocations: 0 / 0.986 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.5841, allocations: 7.938 kB / 0.986 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.5841, allocations: 0 / 0.986 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.987e-05/0.5842, allocations: 108.1 kB / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5842, allocations: 0 / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00026/0.5845, allocations: 59.98 kB / 0.9861 GB, free: 0.8203 MB / 0.7325 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.0005214/0.585, allocations: 0.7059 MB / 0.9868 GB, free: 84 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.5851, allocations: 67.97 kB / 0.9869 GB, free: 16 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5851, allocations: 0 / 0.9869 GB, free: 16 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/0.5852, allocations: 12 kB / 0.9869 GB, free: 4 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.5854, allocations: 33.45 kB / 0.9869 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.5862, allocations: 0.6686 MB / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.5864, allocations: 0.6848 MB / 0.9883 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.5864, allocations: 11.94 kB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.5865, allocations: 23.44 kB / 0.9883 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.5865, allocations: 0 / 0.9883 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.5984, allocations: 3.108 MB / 0.9913 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.5986, allocations: 254 kB / 0.9916 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.201, allocations: 64 / 0.9916 GB, free: 11.32 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat does not exist to compare? outputFormat=mat