Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 70.67 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2389, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002139/0.2411, allocations: 0.7063 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008583/0.242, allocations: 0.801 MB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.2421, allocations: 0 / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.2421, allocations: 7.875 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-05/0.2422, allocations: 7.938 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.2423, allocations: 15.97 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.2424, allocations: 35.92 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2425, allocations: 19.94 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.561e-05/0.2425, allocations: 19.86 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.2426, allocations: 27.89 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2426, allocations: 4 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.2427, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.2427, allocations: 8 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.2427, allocations: 15.86 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.18e-05/0.2428, allocations: 39.88 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2428, allocations: 4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2428, allocations: 4 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.2428, allocations: 0 / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005766/0.2434, allocations: 359.6 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2435, allocations: 12.03 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.2435, allocations: 34.73 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.2435, allocations: 4.938 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.2437, allocations: 172.2 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.2437, allocations: 12.38 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.2437, allocations: 384 / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.244, allocations: 70.16 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.244, allocations: 3.938 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.244, allocations: 0 / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.244, allocations: 4 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.2443, allocations: 67.92 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.2447, allocations: 260.9 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.2449, allocations: 62.47 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.2451, allocations: 36.92 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.2451, allocations: 0 / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2451, allocations: 38.56 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.2451, allocations: 0 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005454/0.2457, allocations: 133.5 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.2457, allocations: 55.34 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.424e-05/0.2458, allocations: 105.8 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.2458, allocations: 29.7 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.2459, allocations: 84.14 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.2459, allocations: 7.891 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.2459, allocations: 21.66 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.246, allocations: 314.8 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.2462, allocations: 35.95 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2463, allocations: 27.97 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.2466, allocations: 77 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2466, allocations: 0 / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003097/0.2469, allocations: 101.5 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2469, allocations: 7.938 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.247, allocations: 320 / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.247, allocations: 0 / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.2471, allocations: 23.91 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2471, allocations: 4 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.2472, allocations: 11.98 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.2472, allocations: 3.984 kB / 0.7873 GB, free: 9.258 MB / 0.6075 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.813e-05/0.2473, allocations: 117.8 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.2473, allocations: 0 / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.2477, allocations: 113.5 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2477, allocations: 0 / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2477, allocations: 0 / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2477, allocations: 0 / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.2479, allocations: 173.6 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2479, allocations: 4 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.248, allocations: 15.98 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.248, allocations: 0 / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.248, allocations: 3.938 kB / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.248, allocations: 4 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.248, allocations: 0 / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.2484, allocations: 203.3 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.2484, allocations: 77.11 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2485, allocations: 0 / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2486, allocations: 15.98 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.2486, allocations: 7.922 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.2486, allocations: 4 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.776e-05/0.2487, allocations: 83.28 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2487, allocations: 0 / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002154/0.2489, allocations: 8 kB / 0.7881 GB, free: 8.34 MB / 0.6075 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006558/0.2496, allocations: 0.7357 MB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.2499, allocations: 71.92 kB / 0.7888 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2499, allocations: 0 / 0.7888 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.2501, allocations: 43.89 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.2504, allocations: 4 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.2508, allocations: 155.1 kB / 0.789 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.2511, allocations: 0.6807 MB / 0.7897 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.2511, allocations: 3.938 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.2511, allocations: 19.42 kB / 0.7897 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2511, allocations: 0 / 0.7897 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.2691, allocations: 1.591 MB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.824, allocations: 9.062 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)