Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.00193/0.001931, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.511/1.511, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.771/1.771, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001437/0.001437, allocations: 63.91 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2587, allocations: 114.6 MB / 0.784 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002382/0.2612, allocations: 0.6663 MB / 0.7847 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.2629, allocations: 1.18 MB / 0.7858 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.263, allocations: 0 / 0.7858 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.2631, allocations: 11.92 kB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.2632, allocations: 3.938 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.2638, allocations: 215.7 kB / 0.7861 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.264, allocations: 187.7 kB / 0.7862 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2642, allocations: 11.98 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.952e-05/0.2643, allocations: 63.91 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.2644, allocations: 55.84 kB / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.2644, allocations: 16 kB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.16e-05/0.2645, allocations: 27.94 kB / 0.7864 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.2645, allocations: 7.984 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.983e-05/0.2646, allocations: 63.81 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.2649, allocations: 147.9 kB / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2649, allocations: 0 / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2649, allocations: 0 / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.2649, allocations: 0 / 0.7866 GB, free: 1.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005583/0.2654, allocations: 434.8 kB / 0.787 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2655, allocations: 12.03 kB / 0.787 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.984e-05/0.2656, allocations: 12.84 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2657, allocations: 172.2 kB / 0.7872 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2657, allocations: 12.36 kB / 0.7872 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.2658, allocations: 12.38 kB / 0.7872 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.2659, allocations: 46.23 kB / 0.7873 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2659, allocations: 192 / 0.7873 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.2659, allocations: 7.938 kB / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2659, allocations: 4 kB / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.084e-05/0.266, allocations: 15.98 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4528/0.7188, allocations: 352.1 kB / 0.7877 GB, free: 49.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.719, allocations: 36.14 kB / 0.7877 GB, free: 49.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.7191, allocations: 16.78 kB / 0.7877 GB, free: 49.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.7191, allocations: 1.562 kB / 0.7877 GB, free: 49.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/0.7194, allocations: 82.3 kB / 0.7878 GB, free: 49.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 3.156e-06/0.7194, allocations: 0 / 0.7878 GB, free: 49.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003297/0.7197, allocations: 103.5 kB / 0.7879 GB, free: 49.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.7198, allocations: 57.22 kB / 0.7879 GB, free: 49.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.7198, allocations: 119.6 kB / 0.7881 GB, free: 49.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.7199, allocations: 35.27 kB / 0.7881 GB, free: 49.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.7199, allocations: 86.25 kB / 0.7882 GB, free: 49.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.72, allocations: 18.45 kB / 0.7882 GB, free: 49.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.7201, allocations: 48.33 kB / 0.7882 GB, free: 49.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.7201, allocations: 320.4 kB / 0.7885 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.7203, allocations: 62.7 kB / 0.7886 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.7204, allocations: 92.38 kB / 0.7887 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.7206, allocations: 161.1 kB / 0.7888 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7206, allocations: 3.812 kB / 0.7888 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003536/0.7209, allocations: 257.8 kB / 0.7891 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.721, allocations: 70.56 kB / 0.7892 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.721, allocations: 0 / 0.7892 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.721, allocations: 6.562 kB / 0.7892 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.652e-05/0.721, allocations: 7.047 kB / 0.7892 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.7211, allocations: 6.266 kB / 0.7892 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.7214, allocations: 58.45 kB / 0.7892 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.7215, allocations: 11.2 kB / 0.7892 GB, free: 48.58 MB / 0.6544 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,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.882e-05/0.7216, allocations: 124.2 kB / 0.7894 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.7216, allocations: 6.531 kB / 0.7894 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.7216, allocations: 14.81 kB / 0.7894 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.7216, allocations: 1.094 kB / 0.7894 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.7216, allocations: 0 / 0.7894 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.7216, allocations: 2.625 kB / 0.7894 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.723e-05/0.7217, allocations: 175.4 kB / 0.7896 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7217, allocations: 0 / 0.7896 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.015e-05/0.7218, allocations: 9.531 kB / 0.7896 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.7218, allocations: 0 / 0.7896 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.7218, allocations: 5.844 kB / 0.7896 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.7218, allocations: 2.625 kB / 0.7896 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7218, allocations: 1.719 kB / 0.7896 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.7219, allocations: 113.2 kB / 0.7897 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.7219, allocations: 85.27 kB / 0.7898 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.722, allocations: 6.938 kB / 0.7898 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.722, allocations: 0.75 kB / 0.7898 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.722, allocations: 7.969 kB / 0.7898 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.7221, allocations: 5.688 kB / 0.7898 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.7221, allocations: 92.88 kB / 0.7899 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7221, allocations: 1.406 kB / 0.7899 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002346/0.7223, allocations: 30.92 kB / 0.7899 GB, free: 48.03 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: 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 (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.0001459/0.7225, allocations: 105.1 kB / 0.79 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002955/0.7228, allocations: 244 kB / 0.7902 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7228, allocations: 0.9062 kB / 0.7902 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/0.7229, allocations: 36.45 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.7231, allocations: 18.89 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.7234, allocations: 184 kB / 0.7905 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.7235, allocations: 0.6875 MB / 0.7911 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.7236, allocations: 10.06 kB / 0.7911 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.7236, allocations: 0 / 0.7911 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.002846/0.7264, allocations: 1.385 MB / 0.7925 GB, free: 46.92 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)