Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.618/1.618, allocations: 288.3 MB / 303.2 MB, free: 8.152 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.001087/0.001087, allocations: 187.7 kB / 371.8 MB, free: 10.29 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.78/1.78, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001174, allocations: 96.33 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004426, allocations: 16.2 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2999, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001103/0.301, allocations: 385 kB / 0.9798 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3025, allocations: 1.124 MB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.3026, allocations: 0 / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.3026, allocations: 4 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.836e-05/0.3027, allocations: 11.98 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.3033, allocations: 193.2 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.3034, allocations: 87.88 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3035, allocations: 4 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.3036, allocations: 63.88 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.3037, allocations: 47.88 kB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.3038, allocations: 8 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.448e-05/0.3039, allocations: 15.98 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.3039, allocations: 11.94 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.304, allocations: 37.7 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.3041, allocations: 104 kB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.3041, allocations: 0 / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3041, allocations: 0 / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3041, allocations: 0 / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005564/0.3047, allocations: 410.7 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.3048, allocations: 12.02 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.3048, allocations: 11.91 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.305, allocations: 178.9 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.3051, allocations: 4 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.3051, allocations: 12 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.3053, allocations: 45.67 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3053, allocations: 4 kB / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3053, allocations: 0 / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3053, allocations: 3.938 kB / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.3054, allocations: 16 kB / 0.9821 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/0.306, allocations: 360.5 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3061, allocations: 34.56 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3061, allocations: 3.938 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.3064, allocations: 83.47 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.3064, allocations: 0 / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003014/0.3067, allocations: 109.5 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3068, allocations: 59.39 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.735e-05/0.3069, allocations: 118 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.3069, allocations: 29.7 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.307, allocations: 88.33 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.307, allocations: 11.81 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.307, allocations: 12 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.3071, allocations: 322.8 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.3073, allocations: 55.97 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3074, allocations: 96.19 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.3075, allocations: 111.4 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3075, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003542/0.3079, allocations: 265.3 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.3079, allocations: 67.39 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.308, allocations: 0 / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.308, allocations: 4 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.221e-05/0.308, allocations: 0 / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.308, allocations: 11.88 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.3084, allocations: 76.05 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.3085, allocations: 12 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.631e-05/0.3086, allocations: 133.7 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.3086, allocations: 7.906 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.3086, allocations: 8.375 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3086, allocations: 0 / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3086, allocations: 0 / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3087, allocations: 3.984 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.3088, allocations: 181.6 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3088, allocations: 0 / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-06/0.3088, allocations: 8 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3088, allocations: 0 / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3088, allocations: 0 / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3088, allocations: 0 / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3088, allocations: 3.938 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.309, allocations: 116.9 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.309, allocations: 81.02 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.309, allocations: 11.98 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.309, allocations: 0 / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.3091, allocations: 8 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3091, allocations: 3.984 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.3091, allocations: 87.28 kB / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3091, allocations: 0 / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002224/0.3094, allocations: 35.98 kB / 0.9846 GB, free: 21.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000175/0.3095, allocations: 99.25 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.3098, allocations: 246.9 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3099, allocations: 0 / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.3099, allocations: 31.92 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.3101, allocations: 11.95 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.3105, allocations: 171.9 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.3106, allocations: 0.6917 MB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.861e-05/0.3107, allocations: 4 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.3107, allocations: 15.38 kB / 0.9859 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3107, allocations: 0 / 0.9859 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.003868/0.3146, allocations: 1.687 MB / 0.9875 GB, free: 18.97 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)