Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 184.9 kB / 326.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205 MB / 0.5766 GB, free: 20.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007651/0.0007651, allocations: 95.94 kB / 0.6804 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 12.44 kB / 0.7938 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1996, allocations: 105.4 MB / 0.8968 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001368/0.201, allocations: 1.102 MB / 0.8978 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002809/0.2013, allocations: 125.4 kB / 0.898 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.2013, allocations: 0 / 0.898 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.2014, allocations: 4 kB / 0.898 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.2015, allocations: 3.984 kB / 0.898 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.2016, allocations: 15.94 kB / 0.898 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.566e-05/0.2017, allocations: 15.98 kB / 0.898 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.2018, allocations: 8 kB / 0.898 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.758e-05/0.2018, allocations: 7.922 kB / 0.898 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.027e-05/0.2019, allocations: 7.984 kB / 0.898 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.2019, allocations: 0 / 0.898 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-06/0.2019, allocations: 4 kB / 0.898 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.2019, allocations: 8 kB / 0.898 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.202, allocations: 7.922 kB / 0.898 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.381e-05/0.202, allocations: 20.19 kB / 0.8981 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.202, allocations: 3.938 kB / 0.8981 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.202, allocations: 0 / 0.8981 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.202, allocations: 0 / 0.8981 GB, free: 66.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003592/0.2024, allocations: 339.4 kB / 0.8984 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2025, allocations: 16.03 kB / 0.8984 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.2025, allocations: 0.9375 kB / 0.8984 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.898e-05/0.2026, allocations: 164.3 kB / 0.8986 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2026, allocations: 8.312 kB / 0.8986 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.2026, allocations: 4.375 kB / 0.8986 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.2028, allocations: 50.23 kB / 0.8986 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.2028, allocations: 192 / 0.8986 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2028, allocations: 7.938 kB / 0.8986 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.2028, allocations: 4 kB / 0.8986 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.203, allocations: 47.89 kB / 0.8987 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.2033, allocations: 241 kB / 0.8989 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.2034, allocations: 50.5 kB / 0.899 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.2035, allocations: 24.89 kB / 0.899 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.2035, allocations: 4 kB / 0.899 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.2036, allocations: 34.56 kB / 0.899 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2036, allocations: 0 / 0.899 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003272/0.2039, allocations: 101.7 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.2039, allocations: 51.41 kB / 0.8992 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.014e-05/0.204, allocations: 101.9 kB / 0.8993 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.204, allocations: 25.7 kB / 0.8993 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.204, allocations: 80.14 kB / 0.8994 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.2041, allocations: 15.83 kB / 0.8994 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.2041, allocations: 9.719 kB / 0.8994 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.897e-05/0.2041, allocations: 314.8 kB / 0.8997 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.2042, allocations: 20.02 kB / 0.8997 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.2043, allocations: 23.98 kB / 0.8997 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.2044, allocations: 52.88 kB / 0.8998 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2045, allocations: 3.938 kB / 0.8998 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001728/0.2046, allocations: 81.59 kB / 0.8999 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2047, allocations: 4 kB / 0.8999 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2047, allocations: 0 / 0.8999 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2047, allocations: 4.188 kB / 0.8999 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/0.2048, allocations: 8 kB / 0.8999 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2048, allocations: 0 / 0.8999 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.2048, allocations: 7.984 kB / 0.8999 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.2048, allocations: 11.98 kB / 0.8999 GB, free: 64.2 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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 4.692e-05/0.2049, allocations: 113.8 kB / 0.9 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.2049, allocations: 3.906 kB / 0.9 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.2051, allocations: 92.64 kB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2051, allocations: 7.969 kB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2052, allocations: 0 / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2052, allocations: 0 / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.2053, allocations: 165.6 kB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2053, allocations: 0 / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.2053, allocations: 15.98 kB / 0.9003 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2053, allocations: 0 / 0.9003 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.2054, allocations: 0 / 0.9003 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2054, allocations: 0 / 0.9003 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2054, allocations: 0 / 0.9003 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.2056, allocations: 183.4 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.2056, allocations: 77.11 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.2056, allocations: 4 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.2057, allocations: 16.02 kB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.2057, allocations: 0 / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.2057, allocations: 0 / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.069e-05/0.2058, allocations: 83.27 kB / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2058, allocations: 0 / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001935/0.206, allocations: 4 kB / 0.9006 GB, free: 63.34 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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.0001213/0.2061, allocations: 99.25 kB / 0.9007 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.2063, allocations: 47.97 kB / 0.9008 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2063, allocations: 0 / 0.9008 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.2064, allocations: 28.03 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.2067, allocations: 7.938 kB / 0.9008 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.2069, allocations: 140.9 kB / 0.9009 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.207, allocations: 0.677 MB / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.2071, allocations: 11.38 kB / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2071, allocations: 0 / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.001607/0.2087, allocations: 0.5377 MB / 0.9021 GB, free: 61.74 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)