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.00141/0.00141, allocations: 109.4 kB / 15.69 MB, free: 128 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.001893/0.001893, allocations: 188 kB / 16.62 MB, free: 6.582 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.646/1.646, allocations: 205.1 MB / 222.5 MB, free: 4.551 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 2.002/2.002, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001422/0.001423, allocations: 73.77 kB / 0.6723 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2941, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.003461/0.2977, allocations: 0.6738 MB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0024/0.3001, allocations: 1.184 MB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.3002, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.06e-05/0.3004, allocations: 3.938 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.3005, allocations: 15.84 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.3016, allocations: 221.8 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.3019, allocations: 179.8 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.3021, allocations: 7.984 kB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.3022, allocations: 71.88 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.3024, allocations: 63.84 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.3025, allocations: 12 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3026, allocations: 39.92 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.3026, allocations: 7.938 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3027, allocations: 51.89 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.3031, allocations: 159.5 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3031, allocations: 0 / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.554e-06/0.3031, allocations: 0 / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.3031, allocations: 0 / 0.7867 GB, free: 10.06 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007727/0.3039, allocations: 438.7 kB / 0.7872 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3039, allocations: 8.031 kB / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.304, allocations: 8.938 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.3042, allocations: 172.3 kB / 0.7873 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.3042, allocations: 8.375 kB / 0.7873 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.3043, allocations: 8.375 kB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3044, allocations: 54.19 kB / 0.7874 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3045, allocations: 8.109 kB / 0.7874 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.3045, allocations: 11.92 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3045, allocations: 4 kB / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.413e-05/0.3046, allocations: 8 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.3052, allocations: 360.7 kB / 0.7878 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3053, allocations: 38.44 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.3054, allocations: 16.86 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3054, allocations: 0 / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.3056, allocations: 75.47 kB / 0.7879 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.3056, allocations: 0 / 0.7879 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000276/0.3059, allocations: 109.5 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.306, allocations: 59.33 kB / 0.7881 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3061, allocations: 117.8 kB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.3061, allocations: 33.7 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.3063, allocations: 92.12 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.3063, allocations: 15.8 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.3064, allocations: 49.69 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3066, allocations: 318.8 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.3067, allocations: 67.95 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3069, allocations: 88.27 kB / 0.7888 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.3071, allocations: 160.1 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3071, allocations: 0 / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004326/0.3075, allocations: 260.8 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.886e-05/0.3076, allocations: 72.33 kB / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3076, allocations: 0 / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3077, allocations: 7.938 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.266e-05/0.3077, allocations: 0 / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.3077, allocations: 4 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.308, allocations: 55.97 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.3081, allocations: 15.98 kB / 0.7894 GB, free: 7.066 MB / 0.6075 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 0.0001082/0.3082, allocations: 125.7 kB / 0.7895 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.3082, allocations: 7.906 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.3083, allocations: 8.375 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3083, allocations: 0 / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3083, allocations: 4 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3083, allocations: 3.984 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.3085, allocations: 177.5 kB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3085, allocations: 0 / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.887e-05/0.3085, allocations: 4 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3085, allocations: 0 / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3085, allocations: 3.984 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3085, allocations: 0 / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3085, allocations: 0 / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.3087, allocations: 118.2 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.3087, allocations: 89.02 kB / 0.7899 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.3088, allocations: 0 / 0.7899 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.914e-05/0.3088, allocations: 3.938 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.3088, allocations: 11.98 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.3088, allocations: 4 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.648e-05/0.3089, allocations: 95.2 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3089, allocations: 0 / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002393/0.3092, allocations: 28 kB / 0.79 GB, free: 6.301 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: 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.000188/0.3094, allocations: 103.2 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003602/0.3097, allocations: 246.9 kB / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3097, allocations: 4 kB / 0.7904 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.3098, allocations: 23.98 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.31, allocations: 19.92 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.3104, allocations: 166.9 kB / 0.7906 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3108, allocations: 0.6914 MB / 0.7912 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.3108, allocations: 11.77 kB / 0.7912 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.3109, allocations: 11.44 kB / 0.7913 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3109, allocations: 0 / 0.7913 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of Templates: time 0.005386/0.3163, allocations: 1.838 MB / 0.7931 GB, free: 3.129 MB / 0.6075 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)