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.001121/0.001121, allocations: 102.4 kB / 16.36 MB, free: 6.301 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.001222/0.001222, allocations: 191 kB / 17.29 MB, free: 5.875 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.45/1.45, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001416/0.001416, allocations: 67.91 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2431, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001888/0.245, allocations: 0.6777 MB / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2464, allocations: 1.184 MB / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.2465, allocations: 0 / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.2465, allocations: 3.938 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.533e-05/0.2466, allocations: 11.92 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.2472, allocations: 218.8 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.2475, allocations: 187.7 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.592e-05/0.2476, allocations: 8 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.2477, allocations: 67.88 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.2478, allocations: 63.83 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.2478, allocations: 16 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.566e-05/0.2479, allocations: 27.98 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.2479, allocations: 15.88 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.248, allocations: 55.81 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.2482, allocations: 155.6 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2482, allocations: 0 / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2482, allocations: 0 / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2482, allocations: 0 / 0.7874 GB, free: 448 kB / 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.3764/0.6247, allocations: 428.9 kB / 0.7878 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.6247, allocations: 9.844 kB / 0.7878 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.6248, allocations: 7.969 kB / 0.7878 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.612e-05/0.6249, allocations: 173 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.6249, allocations: 9.406 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.625, allocations: 13.39 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.6251, allocations: 46.52 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.6251, allocations: 3.875 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.6252, allocations: 5.109 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6252, allocations: 3.969 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.339e-05/0.6252, allocations: 16.84 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.6257, allocations: 349.9 kB / 0.7884 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.345e-05/0.6258, allocations: 38.17 kB / 0.7885 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.6258, allocations: 20.5 kB / 0.7885 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.6258, allocations: 0 / 0.7885 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.626, allocations: 80.72 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.626, allocations: 0.7812 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002323/0.6263, allocations: 102.8 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.6263, allocations: 54.16 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.6264, allocations: 124.9 kB / 0.7888 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.6264, allocations: 28.7 kB / 0.7889 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.6265, allocations: 89.66 kB / 0.7889 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.6265, allocations: 16.05 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.6266, allocations: 54.45 kB / 0.789 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.068e-05/0.6266, allocations: 325.1 kB / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.6268, allocations: 58.62 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.6269, allocations: 97.48 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.6271, allocations: 158.4 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6271, allocations: 3.375 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003482/0.6274, allocations: 266.7 kB / 0.7899 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.6275, allocations: 69.05 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6275, allocations: 2.656 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6275, allocations: 0 / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.328e-05/0.6275, allocations: 6.531 kB / 0.79 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6276, allocations: 2.656 kB / 0.79 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.6279, allocations: 55.83 kB / 0.79 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.6279, allocations: 11.83 kB / 0.79 GB, free: 47.44 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.237e-05/0.628, allocations: 130.7 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.628, allocations: 9.375 kB / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.628, allocations: 11.38 kB / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6281, allocations: 2.844 kB / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6281, allocations: 0 / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6281, allocations: 3.328 kB / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.351e-05/0.6282, allocations: 176.9 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6282, allocations: 0 / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-06/0.6282, allocations: 0.9375 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6282, allocations: 3.062 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.6282, allocations: 2.219 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6282, allocations: 0 / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6282, allocations: 3.234 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.6283, allocations: 118.3 kB / 0.7905 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.6284, allocations: 79.61 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.6284, allocations: 0.625 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.955e-05/0.6284, allocations: 9.219 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.6285, allocations: 5.469 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.6285, allocations: 0 / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.841e-05/0.6285, allocations: 91.62 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6285, allocations: 0.5625 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002254/0.6287, allocations: 33.53 kB / 0.7907 GB, free: 46.88 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.0001509/0.6289, allocations: 110.8 kB / 0.7908 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.6292, allocations: 245.2 kB / 0.791 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6292, allocations: 1 kB / 0.791 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-05/0.6292, allocations: 33.7 kB / 0.791 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.6295, allocations: 17.14 kB / 0.7911 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.6298, allocations: 186.4 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.6299, allocations: 0.6859 MB / 0.7919 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.63, allocations: 11.47 kB / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.63, allocations: 1.688 kB / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.002626/0.6326, allocations: 1.387 MB / 0.7933 GB, free: 45.76 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)