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.0008859/0.0008859, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001093/0.001093, allocations: 168.7 kB / 15.95 MB, free: 204 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.454/1.454, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.638/1.638, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005636/0.0005639, allocations: 16.31 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2405, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.0008917/0.2414, allocations: 398.7 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.2424, allocations: 0.7971 MB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.2424, allocations: 0 / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.2425, allocations: 0 / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.2425, allocations: 4 kB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.2427, allocations: 7.984 kB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.015e-05/0.2427, allocations: 19.94 kB / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.2428, allocations: 11.97 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.758e-05/0.2429, allocations: 3.938 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.2429, allocations: 11.98 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.243, allocations: 0 / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.243, allocations: 4 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.243, allocations: 3.938 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.243, allocations: 25.7 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.39e-05/0.2431, allocations: 23.91 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2431, allocations: 4 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2431, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2431, allocations: 0 / 0.7886 GB, free: 10.58 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.0004868/0.2436, allocations: 335.5 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2437, allocations: 12.03 kB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.2437, allocations: 0 / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.2439, allocations: 171 kB / 0.7891 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.2439, allocations: 4 kB / 0.7891 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.2439, allocations: 7.938 kB / 0.7891 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.2441, allocations: 57.67 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2442, allocations: 0 / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2442, allocations: 0 / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2442, allocations: 0 / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.2444, allocations: 47.91 kB / 0.7892 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.2447, allocations: 248.9 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.2449, allocations: 42.56 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.245, allocations: 24.91 kB / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.245, allocations: 0 / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.245, allocations: 42.5 kB / 0.7895 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.245, allocations: 0 / 0.7895 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003355/0.2454, allocations: 93.64 kB / 0.7896 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.2454, allocations: 51.41 kB / 0.7897 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.2455, allocations: 106 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.2455, allocations: 25.7 kB / 0.7898 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.2456, allocations: 92.03 kB / 0.7899 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.2456, allocations: 4 kB / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.2456, allocations: 0 / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2457, allocations: 318.8 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.2458, allocations: 23.98 kB / 0.7902 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.2459, allocations: 19.98 kB / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.316e-05/0.246, allocations: 27.92 kB / 0.7903 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.246, allocations: 0 / 0.7903 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.2462, allocations: 81.81 kB / 0.7903 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2462, allocations: 4 kB / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2462, allocations: 0 / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2462, allocations: 4 kB / 0.7903 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.2463, allocations: 15.97 kB / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2463, allocations: 0 / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.2464, allocations: 12.03 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.2464, allocations: 3.984 kB / 0.7904 GB, free: 8.523 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 7.354e-05/0.2465, allocations: 114.5 kB / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.2465, allocations: 3.938 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.2467, allocations: 88.72 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2467, allocations: 0 / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2467, allocations: 3.938 kB / 0.7906 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2468, allocations: 0 / 0.7906 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.2469, allocations: 161.6 kB / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2469, allocations: 4 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.247, allocations: 8 kB / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.247, allocations: 4.031 kB / 0.7907 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.247, allocations: 0 / 0.7907 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.247, allocations: 0 / 0.7907 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.247, allocations: 3.984 kB / 0.7907 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.2472, allocations: 175.4 kB / 0.7909 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.2473, allocations: 92.94 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.2473, allocations: 0 / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.2474, allocations: 4 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.2474, allocations: 7.984 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2474, allocations: 0 / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.491e-05/0.2475, allocations: 83.28 kB / 0.7911 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2475, allocations: 4.031 kB / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002096/0.2477, allocations: 4 kB / 0.7911 GB, free: 7.672 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.0001066/0.2478, allocations: 95.25 kB / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.248, allocations: 51.95 kB / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.248, allocations: 0 / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.636e-05/0.2481, allocations: 27.92 kB / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.2483, allocations: 10.91 kB / 0.7913 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.2486, allocations: 107.7 kB / 0.7914 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2489, allocations: 0.6809 MB / 0.792 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.2489, allocations: 0 / 0.792 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.2489, allocations: 15.38 kB / 0.7921 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2489, allocations: 0 / 0.7921 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of Templates: time 0.002179/0.2511, allocations: 358.3 kB / 0.7924 GB, free: 6.289 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: