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.0009583/0.0009581, allocations: 90.83 kB / 15.06 MB, free: 1.094 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.001146/0.001146, allocations: 172.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.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.678/2.678, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.8981, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002919/0.901, allocations: 1.802 MB / 0.9829 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.9021, allocations: 486.7 kB / 0.9834 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.9023, allocations: 7.938 kB / 0.9834 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.9024, allocations: 31.72 kB / 0.9834 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.79e-05/0.9025, allocations: 31.72 kB / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.9028, allocations: 79.91 kB / 0.9835 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.9031, allocations: 316.2 kB / 0.9838 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.9034, allocations: 132.3 kB / 0.9839 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.9036, allocations: 75.53 kB / 0.984 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.9037, allocations: 91.42 kB / 0.9841 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.9037, allocations: 8 kB / 0.9841 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.376e-05/0.9038, allocations: 8 kB / 0.9841 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.9038, allocations: 39.77 kB / 0.9842 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.9039, allocations: 73.52 kB / 0.9842 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.9042, allocations: 365.3 kB / 0.9846 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9042, allocations: 0 / 0.9846 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9043, allocations: 4 kB / 0.9846 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.9043, allocations: 0 / 0.9846 GB, free: 2.699 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.0008693/0.9051, allocations: 0.5729 MB / 0.9851 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.9052, allocations: 8.031 kB / 0.9851 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.9053, allocations: 54.55 kB / 0.9852 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.9053, allocations: 35.53 kB / 0.9852 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.9058, allocations: 310.1 kB / 0.9855 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.9058, allocations: 20.5 kB / 0.9855 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.9059, allocations: 31.98 kB / 0.9856 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.9064, allocations: 287.6 kB / 0.9858 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.9064, allocations: 0 / 0.9858 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.9064, allocations: 15.98 kB / 0.9859 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.9065, allocations: 4 kB / 0.9859 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.907, allocations: 222.1 kB / 0.9861 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.9084, allocations: 0.986 MB / 0.987 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.9089, allocations: 283.9 kB / 0.9873 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.9092, allocations: 115.3 kB / 0.9874 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.9092, allocations: 3.953 kB / 0.9874 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.9093, allocations: 42.55 kB / 0.9875 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.9093, allocations: 0 / 0.9875 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.0006841/0.91, allocations: 282.7 kB / 0.9877 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.91, allocations: 51.41 kB / 0.9878 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.9103, allocations: 266.7 kB / 0.988 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.9103, allocations: 29.7 kB / 0.9881 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.9105, allocations: 180 kB / 0.9882 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.9105, allocations: 59.2 kB / 0.9883 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.9105, allocations: 4 kB / 0.9883 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.9107, allocations: 334.8 kB / 0.9886 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.9109, allocations: 75.95 kB / 0.9887 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.9111, allocations: 130.4 kB / 0.9888 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.9114, allocations: 101.1 kB / 0.9889 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9114, allocations: 0 / 0.9889 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005485/0.9119, allocations: 266.5 kB / 0.9892 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.069e-05/0.912, allocations: 124.4 kB / 0.9893 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.912, allocations: 11.92 kB / 0.9893 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.9121, allocations: 0 / 0.9893 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.9123, allocations: 43.97 kB / 0.9893 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.403e-05/0.9124, allocations: 4 kB / 0.9893 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.9125, allocations: 35.67 kB / 0.9894 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.9125, allocations: 8 kB / 0.9894 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-06/0.9126, allocations: 4 kB / 0.9894 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000417/0.913, allocations: 202 kB / 0.9896 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.913, allocations: 4.031 kB / 0.9896 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/0.913, allocations: 4 kB / 0.9896 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.9132, allocations: 47.91 kB / 0.9896 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.9132, allocations: 0 / 0.9896 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.9133, allocations: 31.78 kB / 0.9897 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.9134, allocations: 8 kB / 0.9897 GB, free: 13.19 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.0002072/0.9136, allocations: 229.1 kB / 0.9899 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.9136, allocations: 19.72 kB / 0.9899 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005466/0.9142, allocations: 237.5 kB / 0.9901 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9142, allocations: 3.938 kB / 0.9901 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9142, allocations: 0 / 0.9901 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.9142, allocations: 3.953 kB / 0.9901 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009855/0.9152, allocations: 0.6348 MB / 0.9908 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.9152, allocations: 4 kB / 0.9908 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.9154, allocations: 39.91 kB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9154, allocations: 0 / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.9155, allocations: 8 kB / 0.9908 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.9155, allocations: 7.953 kB / 0.9908 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9155, allocations: 0 / 0.9908 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.9162, allocations: 409.7 kB / 0.9912 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.9163, allocations: 108.8 kB / 0.9913 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.9164, allocations: 4 kB / 0.9913 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.9165, allocations: 20.05 kB / 0.9913 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.9166, allocations: 15.94 kB / 0.9914 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.9166, allocations: 8 kB / 0.9914 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002154/0.9168, allocations: 194 kB / 0.9915 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9169, allocations: 0 / 0.9915 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004046/0.9173, allocations: 83.69 kB / 0.9916 GB, free: 11.09 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.001078/0.9183, allocations: 0.9524 MB / 0.9926 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007335/0.9191, allocations: 299.8 kB / 0.9928 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.9191, allocations: 7.938 kB / 0.9929 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.9194, allocations: 92.33 kB / 0.9929 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.9198, allocations: 41.34 kB / 0.993 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.9224, allocations: 1.501 MB / 0.9944 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.9228, allocations: 0.756 MB / 0.9952 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.9229, allocations: 33.92 kB / 0.9952 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.9231, allocations: 83.41 kB / 0.9953 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.9231, allocations: 4 kB / 0.9953 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.9403, allocations: 4.575 MB / 0.9998 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/0.9406, allocations: 203 kB / 1 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.838, allocations: 0 / 1 GB, free: 2.609 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