Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.0009907/0.0009906, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004953/0.004953, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.42/1.42, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.623/1.623, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004729/0.0004728, allocations: 12.97 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1975, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0006691/0.1982, allocations: 341.9 kB / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1994, allocations: 1.103 MB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.107e-05/0.1995, allocations: 8 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.1995, allocations: 3.938 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.1995, allocations: 0 / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1999, allocations: 108.1 kB / 0.7895 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.352e-05/0.2, allocations: 75.89 kB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.2001, allocations: 15.95 kB / 0.7896 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.2001, allocations: 27.98 kB / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.2002, allocations: 23.91 kB / 0.7897 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.2002, allocations: 8 kB / 0.7897 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.2003, allocations: 23.92 kB / 0.7897 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.2003, allocations: 7.984 kB / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.2004, allocations: 45.62 kB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.2005, allocations: 79.77 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2005, allocations: 3.938 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2005, allocations: 0 / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.2005, allocations: 0 / 0.7898 GB, free: 9.605 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000337/0.2008, allocations: 361.4 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2009, allocations: 12.03 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.2009, allocations: 34.75 kB / 0.7902 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.201, allocations: 4.938 kB / 0.7902 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2011, allocations: 168.4 kB / 0.7904 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2011, allocations: 384 / 0.7904 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.2011, allocations: 8.375 kB / 0.7904 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.257e-05/0.2012, allocations: 34.27 kB / 0.7904 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.2012, allocations: 7.875 kB / 0.7904 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2012, allocations: 3.984 kB / 0.7904 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.2012, allocations: 0 / 0.7904 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.2013, allocations: 8 kB / 0.7904 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.2016, allocations: 284.8 kB / 0.7907 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.861e-05/0.2016, allocations: 22.52 kB / 0.7907 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.2016, allocations: 12.92 kB / 0.7907 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.2016, allocations: 0 / 0.7907 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.2018, allocations: 67.33 kB / 0.7908 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2018, allocations: 3.938 kB / 0.7908 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001424/0.2019, allocations: 57.67 kB / 0.7909 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.202, allocations: 55.41 kB / 0.7909 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.202, allocations: 105.8 kB / 0.791 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.2021, allocations: 29.7 kB / 0.791 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.2021, allocations: 91.98 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-06/0.2021, allocations: 7.938 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.2022, allocations: 17.72 kB / 0.7912 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2023, allocations: 322.8 kB / 0.7915 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/0.2023, allocations: 27.98 kB / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.2024, allocations: 46.56 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.846e-05/0.2025, allocations: 84.14 kB / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2025, allocations: 4 kB / 0.7916 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002109/0.2028, allocations: 147.2 kB / 0.7918 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.2028, allocations: 33.7 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2028, allocations: 3.984 kB / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.2028, allocations: 0 / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-05/0.2028, allocations: 4 kB / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2028, allocations: 0 / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.2031, allocations: 36.06 kB / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.2031, allocations: 8 kB / 0.7918 GB, free: 7.254 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.55e-05/0.2032, allocations: 124.6 kB / 0.792 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.2032, allocations: 3.938 kB / 0.792 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.2032, allocations: 7.906 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2032, allocations: 4.234 kB / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2032, allocations: 0 / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2032, allocations: 7.984 kB / 0.792 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.2033, allocations: 165.9 kB / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2034, allocations: 0 / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-06/0.2034, allocations: 4 kB / 0.7921 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2034, allocations: 4 kB / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.2034, allocations: 0 / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2034, allocations: 0 / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2034, allocations: 3.938 kB / 0.7922 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.628e-05/0.2035, allocations: 84.97 kB / 0.7922 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.2035, allocations: 85.09 kB / 0.7923 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.2035, allocations: 3.938 kB / 0.7923 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.2036, allocations: 0 / 0.7923 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.2036, allocations: 4 kB / 0.7923 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2036, allocations: 0 / 0.7923 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.2036, allocations: 87.27 kB / 0.7924 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2037, allocations: 0 / 0.7924 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001928/0.2039, allocations: 16 kB / 0.7924 GB, free: 6.559 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000328/0.2042, allocations: 0.6241 MB / 0.793 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.2044, allocations: 115.4 kB / 0.7931 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2044, allocations: 0 / 0.7931 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.2044, allocations: 15.94 kB / 0.7932 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.2046, allocations: 16.11 kB / 0.7932 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.2058, allocations: 1.368 MB / 0.7945 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.206, allocations: 0.6809 MB / 0.7952 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.206, allocations: 4 kB / 0.7952 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.206, allocations: 19.42 kB / 0.7952 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2061, allocations: 0 / 0.7952 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009673/0.2157, allocations: 1.716 MB / 0.7969 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.2159, allocations: 204.3 kB / 0.7971 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.934, allocations: 0 / 0.7971 GB, free: 1.707 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)