Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",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.00186/0.00186, allocations: 102.8 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.002362/0.002363, allocations: 173.3 kB / 15.95 MB, free: 212 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.907/2.907, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.041/5.041, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004545, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756/1.757, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.004984/1.762, allocations: 1.825 MB / 0.9827 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002337/1.764, allocations: 482.7 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/1.765, allocations: 4 kB / 0.9831 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.014e-05/1.765, allocations: 27.72 kB / 0.9831 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/1.765, allocations: 51.84 kB / 0.9832 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/1.766, allocations: 91.78 kB / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005724/1.766, allocations: 192.6 kB / 0.9835 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/1.767, allocations: 128.3 kB / 0.9836 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/1.767, allocations: 83.56 kB / 0.9837 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/1.767, allocations: 87.48 kB / 0.9837 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.151e-05/1.768, allocations: 8 kB / 0.9838 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.232e-05/1.768, allocations: 11.94 kB / 0.9838 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.474e-05/1.768, allocations: 43.77 kB / 0.9838 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/1.768, allocations: 69.52 kB / 0.9839 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008607/1.769, allocations: 369.3 kB / 0.9842 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.769, allocations: 0 / 0.9842 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.166e-06/1.769, allocations: 0 / 0.9842 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.113e-05/1.769, allocations: 0 / 0.9842 GB, free: 2.812 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001802/1.771, allocations: 0.569 MB / 0.9848 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001034/1.771, allocations: 8.031 kB / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/1.771, allocations: 62.53 kB / 0.9848 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/1.771, allocations: 39.52 kB / 0.9849 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/1.772, allocations: 310 kB / 0.9852 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/1.772, allocations: 16.56 kB / 0.9852 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.504e-05/1.772, allocations: 24 kB / 0.9852 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/1.773, allocations: 295.6 kB / 0.9855 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.773, allocations: 0 / 0.9855 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/1.773, allocations: 4 kB / 0.9855 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/1.773, allocations: 8 kB / 0.9855 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000908/1.774, allocations: 230.1 kB / 0.9857 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/1.777, allocations: 0.9859 MB / 0.9867 GB, free: 112 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.778, allocations: 283.9 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.146e-05/1.778, allocations: 0 / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.286e-05/1.778, allocations: 42.52 kB / 0.987 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/1.778, allocations: 0 / 0.987 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.001499/1.78, allocations: 278.9 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/1.78, allocations: 51.41 kB / 0.9873 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/1.781, allocations: 274.7 kB / 0.9876 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/1.781, allocations: 25.7 kB / 0.9876 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/1.781, allocations: 180 kB / 0.9878 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.781, allocations: 63.17 kB / 0.9878 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/1.781, allocations: 7.938 kB / 0.9878 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003404/1.781, allocations: 334.8 kB / 0.9882 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/1.782, allocations: 83.89 kB / 0.9882 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/1.782, allocations: 125 kB / 0.9884 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/1.783, allocations: 93.48 kB / 0.9885 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.783, allocations: 3.953 kB / 0.9885 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001126/1.784, allocations: 258.3 kB / 0.9887 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004043/1.784, allocations: 458.8 kB / 0.9891 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/1.784, allocations: 4 kB / 0.9891 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.784, allocations: 0 / 0.9891 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/1.785, allocations: 47.97 kB / 0.9892 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.362e-05/1.785, allocations: 4 kB / 0.9892 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/1.785, allocations: 35.67 kB / 0.9892 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.785, allocations: 8.062 kB / 0.9892 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/1.785, allocations: 4 kB / 0.9892 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007281/1.786, allocations: 209.5 kB / 0.9894 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/1.786, allocations: 0 / 0.9894 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/1.786, allocations: 4 kB / 0.9894 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/1.786, allocations: 48.05 kB / 0.9895 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/1.786, allocations: 3.984 kB / 0.9895 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/1.787, allocations: 23.84 kB / 0.9895 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/1.787, allocations: 8 kB / 0.9895 GB, free: 13.08 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0003934/1.787, allocations: 233 kB / 0.9897 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.787, allocations: 19.72 kB / 0.9898 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009669/1.788, allocations: 231.7 kB / 0.99 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/1.788, allocations: 7.938 kB / 0.99 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.788, allocations: 0 / 0.99 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.788, allocations: 3.984 kB / 0.99 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/1.79, allocations: 0.6365 MB / 0.9906 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.79, allocations: 0 / 0.9906 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/1.791, allocations: 43.91 kB / 0.9907 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/1.791, allocations: 0 / 0.9907 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/1.791, allocations: 8 kB / 0.9907 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.791, allocations: 0 / 0.9907 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.791, allocations: 0 / 0.9907 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/1.792, allocations: 415.8 kB / 0.9911 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/1.792, allocations: 104.8 kB / 0.9912 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/1.792, allocations: 4 kB / 0.9912 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/1.793, allocations: 19.92 kB / 0.9912 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.717e-05/1.793, allocations: 11.98 kB / 0.9912 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/1.793, allocations: 12.05 kB / 0.9912 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003816/1.793, allocations: 190 kB / 0.9914 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/1.793, allocations: 3.938 kB / 0.9914 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008234/1.794, allocations: 87.62 kB / 0.9915 GB, free: 10.97 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * 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 (17): * Single equations (assignments): 17 * 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.001927/1.796, allocations: 0.9595 MB / 0.9924 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001348/1.797, allocations: 296 kB / 0.9927 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.797, allocations: 4 kB / 0.9927 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/1.798, allocations: 88.98 kB / 0.9928 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007589/1.799, allocations: 34.45 kB / 0.9928 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004795/1.803, allocations: 2.098 MB / 0.9949 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.805, allocations: 0.7638 MB / 0.9956 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000197/1.805, allocations: 33.92 kB / 0.9957 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/1.805, allocations: 83.41 kB / 0.9957 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of SimCode: time 2.895e-06/1.805, allocations: 0 / 0.9957 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/1.839, allocations: 4.557 MB / 1 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004022/1.84, allocations: 207.3 kB / 1 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.323/5.163, allocations: 0 / 1 GB, free: 1.906 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat does not exist to compare? outputFormat=mat