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.0009566/0.0009566, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005792/0.005792, allocations: 170 kB / 16.26 MB, free: 6.613 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.325/1.325, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.622/1.622, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004916/0.0004916, allocations: 15.31 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2002, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0007514/0.201, allocations: 450.5 kB / 0.7884 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.2018, allocations: 0.7971 MB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.2018, allocations: 3.938 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.2018, allocations: 3.938 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.2019, allocations: 7.922 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.935e-05/0.202, allocations: 15.98 kB / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.84e-05/0.202, allocations: 39.91 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.309e-05/0.2021, allocations: 8 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.281e-05/0.2022, allocations: 19.92 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.2022, allocations: 15.92 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.2023, allocations: 4 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.2023, allocations: 0 / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.2023, allocations: 3.984 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.2023, allocations: 41.58 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.2024, allocations: 43.84 kB / 0.7894 GB, free: 10 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.2024, allocations: 0 / 0.7894 GB, free: 10 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2024, allocations: 0 / 0.7894 GB, free: 10 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2024, allocations: 0 / 0.7894 GB, free: 10 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.0004149/0.2029, allocations: 367.7 kB / 0.7898 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2029, allocations: 8.031 kB / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.2029, allocations: 38.69 kB / 0.7898 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.203, allocations: 8.844 kB / 0.7898 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/0.2031, allocations: 172.3 kB / 0.79 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-06/0.2031, allocations: 4.375 kB / 0.79 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.2031, allocations: 384 / 0.79 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.2033, allocations: 82.22 kB / 0.7901 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2033, allocations: 3.938 kB / 0.7901 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.2034, allocations: 0 / 0.7901 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2034, allocations: 7.984 kB / 0.7901 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.2037, allocations: 87.92 kB / 0.7902 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.204, allocations: 276.8 kB / 0.7904 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.2042, allocations: 66.55 kB / 0.7905 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.2043, allocations: 48.91 kB / 0.7905 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.2044, allocations: 0 / 0.7905 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.2044, allocations: 34.56 kB / 0.7906 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/0.2044, allocations: 0 / 0.7906 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005662/0.205, allocations: 169.5 kB / 0.7907 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.205, allocations: 55.34 kB / 0.7908 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.2051, allocations: 105.8 kB / 0.7909 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.2051, allocations: 33.7 kB / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.2051, allocations: 84.14 kB / 0.791 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.2052, allocations: 15.8 kB / 0.791 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.2052, allocations: 9.719 kB / 0.791 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.2053, allocations: 318.8 kB / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.2055, allocations: 39.97 kB / 0.7914 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2056, allocations: 43.95 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.2059, allocations: 92.73 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2059, allocations: 3.984 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003355/0.2063, allocations: 121.6 kB / 0.7916 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2063, allocations: 4 kB / 0.7916 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.2063, allocations: 4 kB / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.223e-06/0.2063, allocations: 0 / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.2064, allocations: 19.98 kB / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.2064, allocations: 0 / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.2065, allocations: 19.98 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.2065, allocations: 4 kB / 0.7917 GB, free: 7.461 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.053e-05/0.2066, allocations: 117.8 kB / 0.7918 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.2066, allocations: 3.906 kB / 0.7918 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.207, allocations: 137.4 kB / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.207, allocations: 0 / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.207, allocations: 0 / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.207, allocations: 0 / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.2072, allocations: 169.6 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2072, allocations: 0 / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.93e-05/0.2073, allocations: 27.97 kB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2073, allocations: 0 / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.2073, allocations: 4 kB / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2073, allocations: 0 / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2073, allocations: 0.6875 kB / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.2077, allocations: 223.3 kB / 0.7923 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.2078, allocations: 85 kB / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.2078, allocations: 4 kB / 0.7924 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2079, allocations: 19.92 kB / 0.7924 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.2079, allocations: 4 kB / 0.7924 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2079, allocations: 7.984 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.208, allocations: 91.27 kB / 0.7925 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.208, allocations: 0 / 0.7925 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002048/0.2082, allocations: 4 kB / 0.7925 GB, free: 6.477 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.0006277/0.2088, allocations: 0.7553 MB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.2092, allocations: 95.86 kB / 0.7934 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2092, allocations: 0 / 0.7934 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.2094, allocations: 51.95 kB / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.2096, allocations: 4 kB / 0.7934 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.21, allocations: 162.3 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2102, allocations: 0.6887 MB / 0.7942 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.571e-05/0.2102, allocations: 4 kB / 0.7942 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.2103, allocations: 11.44 kB / 0.7943 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2103, allocations: 0 / 0.7943 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009708/0.22, allocations: 1.3 MB / 0.7955 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003397/0.2204, allocations: 203.2 kB / 0.7957 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.83, allocations: 64 / 0.7957 GB, free: 3.191 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --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)