Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008523/0.0008524, allocations: 100.8 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.0009906/0.0009906, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.597/1.597, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004699/0.00047, allocations: 17.41 kB / 0.6736 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2287, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.0008058/0.2296, allocations: 389.1 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008055/0.2304, allocations: 0.8104 MB / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.2304, allocations: 0 / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.044e-05/0.2304, allocations: 0 / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.2305, allocations: 0 / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.2306, allocations: 11.98 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.24e-05/0.2307, allocations: 15.92 kB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.2308, allocations: 7.984 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.2308, allocations: 0 / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.854e-05/0.2309, allocations: 11.98 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.2309, allocations: 3.938 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.2309, allocations: 8 kB / 0.7883 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.2309, allocations: 3.984 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.2309, allocations: 25.7 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.171e-05/0.231, allocations: 15.97 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.231, allocations: 0 / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.001e-06/0.231, allocations: 0 / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.231, allocations: 0 / 0.7884 GB, free: 10.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003866/0.2314, allocations: 343.5 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2314, allocations: 8.031 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.2315, allocations: 4 kB / 0.7887 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2316, allocations: 163 kB / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2316, allocations: 0 / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.2316, allocations: 8 kB / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.2318, allocations: 53.61 kB / 0.7889 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.2318, allocations: 4 kB / 0.789 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2318, allocations: 4 kB / 0.789 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2318, allocations: 3.984 kB / 0.789 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.232, allocations: 47.89 kB / 0.789 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.2323, allocations: 248.9 kB / 0.7892 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2325, allocations: 46.53 kB / 0.7893 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.2325, allocations: 3.938 kB / 0.7893 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.2325, allocations: 38.62 kB / 0.7893 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.2325, allocations: 0 / 0.7893 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003462/0.2329, allocations: 93.64 kB / 0.7894 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.2329, allocations: 51.41 kB / 0.7895 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.233, allocations: 102 kB / 0.7896 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.233, allocations: 29.7 kB / 0.7896 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.2331, allocations: 92.03 kB / 0.7897 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.2331, allocations: 0 / 0.7897 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.2331, allocations: 0 / 0.7897 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2332, allocations: 314.8 kB / 0.79 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.2333, allocations: 31.92 kB / 0.79 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.2334, allocations: 15.98 kB / 0.79 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.2334, allocations: 27.97 kB / 0.79 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2335, allocations: 0 / 0.79 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001988/0.2337, allocations: 77.64 kB / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2337, allocations: 4 kB / 0.7901 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2337, allocations: 4 kB / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2337, allocations: 3.984 kB / 0.7901 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.282e-05/0.2338, allocations: 8 kB / 0.7901 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2338, allocations: 4.031 kB / 0.7901 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.2339, allocations: 7.984 kB / 0.7902 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.2339, allocations: 4 kB / 0.7902 GB, free: 8.613 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 (2): * Single equations (assignments): 2 * 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 6.272e-05/0.2339, allocations: 113.8 kB / 0.7903 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.234, allocations: 0 / 0.7903 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.2342, allocations: 84.72 kB / 0.7903 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2342, allocations: 0 / 0.7903 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2342, allocations: 3.984 kB / 0.7904 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2342, allocations: 4 kB / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.2344, allocations: 157.6 kB / 0.7905 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2344, allocations: 0 / 0.7905 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.2345, allocations: 16.02 kB / 0.7905 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2345, allocations: 0 / 0.7905 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2345, allocations: 0 / 0.7905 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2345, allocations: 0 / 0.7905 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2345, allocations: 3.938 kB / 0.7905 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.2347, allocations: 183.4 kB / 0.7907 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.2348, allocations: 84.95 kB / 0.7908 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.2348, allocations: 0 / 0.7908 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.2349, allocations: 15.92 kB / 0.7908 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.2349, allocations: 0 / 0.7908 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.2349, allocations: 0 / 0.7908 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.228e-05/0.235, allocations: 83.31 kB / 0.7909 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.235, allocations: 4 kB / 0.7909 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002031/0.2352, allocations: 4 kB / 0.7909 GB, free: 7.766 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 (2): * Single equations (assignments): 2 * 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.0001155/0.2353, allocations: 99.23 kB / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.2355, allocations: 47.97 kB / 0.791 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2355, allocations: 0 / 0.791 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.53e-05/0.2356, allocations: 31.91 kB / 0.7911 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.2358, allocations: 11.03 kB / 0.7911 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.2361, allocations: 111.8 kB / 0.7912 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.2364, allocations: 0.6848 MB / 0.7918 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.2364, allocations: 0 / 0.7918 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.2364, allocations: 7.438 kB / 0.7918 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2364, allocations: 0 / 0.7918 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of Templates: time 0.002072/0.2385, allocations: 354.9 kB / 0.7922 GB, free: 6.383 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) Environment - environmentSimulation: