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.001377/0.001377, allocations: 108 kB / 15.61 MB, free: 152 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.001765/0.001765, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.6/1.6, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.786/1.786, 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.001622/0.001623, allocations: 77.83 kB / 0.6715 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3035, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002104/0.3056, allocations: 0.666 MB / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3072, allocations: 1.191 MB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.3073, allocations: 0 / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.3073, allocations: 3.938 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.87e-05/0.3074, allocations: 11.86 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.308, allocations: 205.9 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.3083, allocations: 187.7 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3084, allocations: 15.97 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.3085, allocations: 59.91 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.3086, allocations: 55.8 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.3086, allocations: 16 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.3087, allocations: 27.98 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.3088, allocations: 11.92 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.281e-05/0.3089, allocations: 63.81 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.3091, allocations: 147.9 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3091, allocations: 7.938 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3092, allocations: 0 / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3092, allocations: 0 / 0.786 GB, free: 10.8 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.000603/0.3098, allocations: 434.7 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3098, allocations: 12.03 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.3099, allocations: 4.938 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.31, allocations: 168.3 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3101, allocations: 8.375 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.3101, allocations: 12.38 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3102, allocations: 50.23 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3103, allocations: 192 / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3103, allocations: 7.938 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3103, allocations: 0 / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/0.3104, allocations: 19.92 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.311, allocations: 352.8 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.3111, allocations: 42.5 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.3111, allocations: 12.86 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.3111, allocations: 4.078 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.3114, allocations: 79.31 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.3114, allocations: 0 / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002794/0.3117, allocations: 105.6 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.3118, allocations: 51.41 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3119, allocations: 126 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.3119, allocations: 33.69 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/0.312, allocations: 96.12 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.3121, allocations: 15.84 kB / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/0.3122, allocations: 53.62 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3123, allocations: 318.8 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3125, allocations: 59.97 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.3126, allocations: 100.2 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.3128, allocations: 151.6 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3129, allocations: 0 / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004249/0.3133, allocations: 256.9 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/0.3134, allocations: 71.39 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3134, allocations: 0 / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3134, allocations: 0 / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.98e-05/0.3134, allocations: 11.94 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3134, allocations: 0 / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.3138, allocations: 64.02 kB / 0.7886 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.3139, allocations: 15.98 kB / 0.7886 GB, free: 7.809 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.0001046/0.314, allocations: 129.7 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.314, allocations: 3.906 kB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.314, allocations: 12.36 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.314, allocations: 0 / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.314, allocations: 0 / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.314, allocations: 0 / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.3142, allocations: 181.6 kB / 0.7889 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3142, allocations: 4.094 kB / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.3142, allocations: 7.938 kB / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3142, allocations: 0 / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3142, allocations: 0 / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3142, allocations: 3.938 kB / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3142, allocations: 0 / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.3144, allocations: 114.1 kB / 0.789 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.3144, allocations: 85 kB / 0.7891 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.3145, allocations: 4 kB / 0.7891 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.3145, allocations: 4 kB / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.3145, allocations: 7.938 kB / 0.7891 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.3145, allocations: 7.984 kB / 0.7891 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.477e-05/0.3146, allocations: 87.28 kB / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3146, allocations: 0 / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002286/0.3148, allocations: 31.98 kB / 0.7892 GB, free: 7.043 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.0001487/0.315, allocations: 111.1 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.3153, allocations: 250.6 kB / 0.7896 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3154, allocations: 0 / 0.7896 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.419e-05/0.3154, allocations: 27.98 kB / 0.7896 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.3156, allocations: 16.53 kB / 0.7896 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.316, allocations: 158.9 kB / 0.7898 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3162, allocations: 0.6912 MB / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.3163, allocations: 11.92 kB / 0.7905 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.3163, allocations: 15.44 kB / 0.7905 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3163, allocations: 0 / 0.7905 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of Templates: time 0.004778/0.3211, allocations: 1.841 MB / 0.7923 GB, free: 3.867 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)