Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.802/1.802, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.841/1.841, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001496/0.001496, allocations: 69.59 kB / 0.6715 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3375, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002234/0.3397, allocations: 0.5924 MB / 0.784 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.3416, allocations: 1.102 MB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.3417, allocations: 8 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.3418, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.3418, allocations: 7.922 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/0.3425, allocations: 118.3 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3427, allocations: 91.89 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3428, allocations: 7.984 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3429, allocations: 31.97 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3431, allocations: 27.91 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.3431, allocations: 8 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3432, allocations: 27.92 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.3432, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.3433, allocations: 35.89 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.3436, allocations: 79.8 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3436, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3436, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.3436, allocations: 0 / 0.7855 GB, free: 11.32 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005935/0.3442, allocations: 377.4 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3442, allocations: 15.95 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.3443, allocations: 8.938 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.3444, allocations: 172.3 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3445, allocations: 384 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3445, allocations: 8.375 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.3446, allocations: 42.25 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3446, allocations: 192 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3446, allocations: 3.938 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3446, allocations: 0 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.578e-05/0.3447, allocations: 7.938 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.3451, allocations: 280.9 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/0.3452, allocations: 34.5 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.3452, allocations: 8.922 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.3452, allocations: 0 / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.3454, allocations: 63.33 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 3.136e-06/0.3454, allocations: 0 / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002006/0.3456, allocations: 61.62 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.3457, allocations: 51.41 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.3458, allocations: 109.8 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.3458, allocations: 29.7 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.3459, allocations: 92.05 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-06/0.3459, allocations: 0 / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.346, allocations: 29.7 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3461, allocations: 314.8 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/0.3462, allocations: 35.92 kB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.076e-05/0.3463, allocations: 46.56 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.3464, allocations: 80.27 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3464, allocations: 3.938 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002545/0.3467, allocations: 143.2 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.3467, allocations: 41.69 kB / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3467, allocations: 0 / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3468, allocations: 0 / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.951e-05/0.3468, allocations: 12.03 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3468, allocations: 0 / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.347, allocations: 27.91 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.3471, allocations: 7.984 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.000106/0.3472, allocations: 118.4 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.3472, allocations: 4 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.3472, allocations: 3.906 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3472, allocations: 4 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3472, allocations: 4.25 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3473, allocations: 240 / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.3474, allocations: 177.6 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3474, allocations: 0 / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-06/0.3474, allocations: 3.984 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3474, allocations: 0 / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3475, allocations: 0 / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3475, allocations: 4 kB / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3475, allocations: 0 / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.3476, allocations: 92.89 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.3477, allocations: 77.11 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.3477, allocations: 4 kB / 0.788 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.3477, allocations: 3.938 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.3478, allocations: 0 / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3478, allocations: 4 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.3478, allocations: 87.27 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3478, allocations: 0 / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002176/0.3481, allocations: 20 kB / 0.7881 GB, free: 8.285 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001615/0.3482, allocations: 95.25 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.3485, allocations: 131.3 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3485, allocations: 0 / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.3485, allocations: 12 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.3488, allocations: 14.53 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.3492, allocations: 127.2 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3495, allocations: 0.6807 MB / 0.7891 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.215e-05/0.3495, allocations: 3.938 kB / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.3495, allocations: 15.44 kB / 0.7891 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3495, allocations: 0 / 0.7891 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of Templates: time 0.004022/0.3536, allocations: 1.076 MB / 0.7902 GB, free: 6.078 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)