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.001402/0.001402, allocations: 103.9 kB / 16.35 MB, free: 5.879 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.001236/0.001237, allocations: 195.2 kB / 17.29 MB, free: 5.516 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.819/1.819, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001474/0.001474, allocations: 79.89 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2879, allocations: 114.5 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.003041/0.291, allocations: 0.6625 MB / 0.7854 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2925, allocations: 0.8165 MB / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.2926, allocations: 0 / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.2926, allocations: 0 / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.704e-05/0.2927, allocations: 3.938 kB / 0.7862 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.2929, allocations: 11.98 kB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.955e-05/0.293, allocations: 23.92 kB / 0.7863 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2932, allocations: 11.98 kB / 0.7863 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.815e-05/0.2933, allocations: 8 kB / 0.7863 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.2933, allocations: 11.92 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.2934, allocations: 4 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.2934, allocations: 0 / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.2934, allocations: 4 kB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.2935, allocations: 7.938 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2936, allocations: 27.88 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2936, allocations: 0 / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2936, allocations: 0 / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.2936, allocations: 4 kB / 0.7863 GB, free: 1.59 MB / 0.6544 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.0006285/0.2943, allocations: 347.3 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.2943, allocations: 8.031 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.2944, allocations: 4.922 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.2946, allocations: 164.4 kB / 0.7868 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2946, allocations: 384 / 0.7868 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.2947, allocations: 4.375 kB / 0.7868 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.2949, allocations: 50.23 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.295, allocations: 4.172 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.295, allocations: 7.938 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.295, allocations: 0 / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.2953, allocations: 31.97 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.2958, allocations: 248.9 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.296, allocations: 42.5 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.2962, allocations: 20.91 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.2962, allocations: 3.984 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.2963, allocations: 30.56 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.2963, allocations: 0 / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0005701/0.2969, allocations: 89.5 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.2969, allocations: 55.39 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2971, allocations: 97.86 kB / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2971, allocations: 25.7 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.2972, allocations: 84.14 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.2972, allocations: 3.906 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.2973, allocations: 21.64 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3456/0.6429, allocations: 316.3 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.6431, allocations: 11.8 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.387e-05/0.6432, allocations: 16.38 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.6433, allocations: 39.14 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6433, allocations: 3.516 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002081/0.6436, allocations: 73.41 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6436, allocations: 6.031 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6436, allocations: 2.688 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.6436, allocations: 0 / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.6437, allocations: 8.484 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6437, allocations: 2.922 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.6438, allocations: 9.062 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.6438, allocations: 0 / 0.7881 GB, free: 48.57 MB / 0.6544 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 6.226e-05/0.6439, allocations: 113.8 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.6439, allocations: 4.734 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.6441, allocations: 69.69 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6442, allocations: 0 / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6442, allocations: 6.562 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6442, allocations: 3.188 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.6443, allocations: 156 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6443, allocations: 2.625 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.6444, allocations: 12.72 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6444, allocations: 0 / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.6444, allocations: 0 / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6444, allocations: 1.625 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6444, allocations: 6.562 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.6446, allocations: 164.9 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.6446, allocations: 85.88 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.6447, allocations: 0 / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.6447, allocations: 8.344 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.6448, allocations: 3.938 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.6448, allocations: 3.188 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.6448, allocations: 86.5 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6448, allocations: 0 / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002209/0.6451, allocations: 2.625 kB / 0.7888 GB, free: 47.93 MB / 0.6544 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.0001162/0.6452, allocations: 97.62 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.6454, allocations: 39.7 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.6454, allocations: 0.5 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.6455, allocations: 22.06 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.6458, allocations: 8.938 kB / 0.789 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.6461, allocations: 91.98 kB / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.6462, allocations: 0.6776 MB / 0.7897 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.6462, allocations: 0 / 0.7897 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.6462, allocations: 7.438 kB / 0.7897 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of SimCode: time 4.8e-07/0.6462, allocations: 0.625 kB / 0.7897 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.002171/0.6484, allocations: 439.6 kB / 0.7901 GB, free: 47.05 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)