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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.901/1.901, allocations: 292.3 MB / 308.1 MB, free: 4.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 182.2 kB / 376.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.1 MB / 0.6354 GB, free: 9.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001045, allocations: 102.6 kB / 0.748 GB, free: 60.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 55.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3391, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002605/0.3418, allocations: 0.7206 MB / 0.9829 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3431, allocations: 0.8127 MB / 0.9837 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.3432, allocations: 0 / 0.9837 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.149e-05/0.3432, allocations: 0 / 0.9837 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.3433, allocations: 3.938 kB / 0.9837 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.3435, allocations: 3.984 kB / 0.9837 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.554e-05/0.3436, allocations: 20 kB / 0.9838 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3437, allocations: 11.92 kB / 0.9838 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.3438, allocations: 15.92 kB / 0.9838 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.3439, allocations: 11.98 kB / 0.9838 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3439, allocations: 0 / 0.9838 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.3439, allocations: 4 kB / 0.9838 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.3439, allocations: 3.938 kB / 0.9838 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.344, allocations: 0 / 0.9838 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.918e-05/0.3441, allocations: 23.89 kB / 0.9838 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3441, allocations: 3.938 kB / 0.9838 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3441, allocations: 4 kB / 0.9838 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3441, allocations: 4 kB / 0.9838 GB, free: 8.75 MB / 0.7136 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.0005133/0.3446, allocations: 339.7 kB / 0.9842 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3447, allocations: 8.031 kB / 0.9842 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.3447, allocations: 4.938 kB / 0.9842 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3449, allocations: 168.3 kB / 0.9843 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3449, allocations: 384 / 0.9843 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3449, allocations: 384 / 0.9843 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.3451, allocations: 54.23 kB / 0.9844 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3451, allocations: 4.125 kB / 0.9844 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3452, allocations: 3.938 kB / 0.9844 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3452, allocations: 4 kB / 0.9844 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.3453, allocations: 35.94 kB / 0.9844 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.3457, allocations: 245 kB / 0.9847 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3459, allocations: 42.5 kB / 0.9847 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.133e-05/0.346, allocations: 24.89 kB / 0.9847 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.346, allocations: 0 / 0.9847 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3461, allocations: 42.5 kB / 0.9848 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.3461, allocations: 3.938 kB / 0.9848 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003614/0.3464, allocations: 81.64 kB / 0.9849 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3465, allocations: 51.41 kB / 0.9849 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.3466, allocations: 97.86 kB / 0.985 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3466, allocations: 29.7 kB / 0.985 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.3467, allocations: 84.12 kB / 0.9851 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.3467, allocations: 7.906 kB / 0.9851 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.3468, allocations: 13.72 kB / 0.9851 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3469, allocations: 315 kB / 0.9854 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.482e-05/0.347, allocations: 15.98 kB / 0.9854 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.3471, allocations: 23.91 kB / 0.9855 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3472, allocations: 32.83 kB / 0.9855 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3472, allocations: 0 / 0.9855 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.3474, allocations: 77.66 kB / 0.9856 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3475, allocations: 6.656 kB / 0.9856 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3475, allocations: 0 / 0.9856 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3475, allocations: 0 / 0.9856 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.3476, allocations: 11.98 kB / 0.9856 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3476, allocations: 0 / 0.9856 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.3477, allocations: 4 kB / 0.9856 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3477, allocations: 4.031 kB / 0.9856 GB, free: 6.727 MB / 0.7136 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 0.0001164/0.3478, allocations: 121.7 kB / 0.9857 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.3479, allocations: 7.891 kB / 0.9857 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.3481, allocations: 72.72 kB / 0.9858 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3481, allocations: 4 kB / 0.9858 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3481, allocations: 0 / 0.9858 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.3481, allocations: 0 / 0.9858 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.3483, allocations: 161.6 kB / 0.9859 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3483, allocations: 0 / 0.9859 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.3484, allocations: 7.984 kB / 0.986 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3484, allocations: 4 kB / 0.986 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3484, allocations: 0 / 0.986 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3484, allocations: 0 / 0.986 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3484, allocations: 0 / 0.986 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.349, allocations: 0.72 MB / 0.9867 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.3491, allocations: 89.05 kB / 0.9867 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.3491, allocations: 3.938 kB / 0.9868 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.3492, allocations: 7.984 kB / 0.9868 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3492, allocations: 3.938 kB / 0.9868 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3492, allocations: 3.938 kB / 0.9868 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.3493, allocations: 87.3 kB / 0.9868 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3493, allocations: 0 / 0.9868 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003006/0.3496, allocations: 4 kB / 0.9869 GB, free: 5.301 MB / 0.7136 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.0001645/0.3498, allocations: 103.2 kB / 0.987 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.35, allocations: 35.95 kB / 0.987 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.35, allocations: 4.062 kB / 0.987 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.3501, allocations: 15.98 kB / 0.987 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.3504, allocations: 0 / 0.987 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.3508, allocations: 220 kB / 0.9872 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3511, allocations: 0.677 MB / 0.9879 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.636e-05/0.3512, allocations: 4.062 kB / 0.9879 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.3512, allocations: 7.438 kB / 0.9879 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.3512, allocations: 0 / 0.9879 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of Templates: time 0.002332/0.3536, allocations: 384.1 kB / 0.9883 GB, free: 3.797 MB / 0.7136 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)