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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009684, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009627/0.0009627, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.481/1.481, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.671/1.671, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001348/0.001348, allocations: 71.05 kB / 0.6711 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2354, allocations: 114.6 MB / 0.783 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00191/0.2374, allocations: 0.7241 MB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2388, allocations: 1.192 MB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.2389, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.2389, allocations: 3.938 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.239, allocations: 11.94 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.2396, allocations: 195.4 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.2398, allocations: 175.7 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.2399, allocations: 12 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.94e-05/0.24, allocations: 71.88 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.2401, allocations: 51.86 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.2401, allocations: 16 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.611e-05/0.2402, allocations: 31.92 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.2402, allocations: 11.94 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.2403, allocations: 55.83 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.2405, allocations: 155.9 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2405, allocations: 0 / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2405, allocations: 4 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2405, allocations: 0 / 0.7856 GB, free: 11.02 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.0004954/0.241, allocations: 433.1 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2411, allocations: 16.03 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.2411, allocations: 38.73 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.2411, allocations: 8.938 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2413, allocations: 164.3 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.2413, allocations: 8.375 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.2413, allocations: 12.38 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.963e-05/0.2414, allocations: 50.17 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.2414, allocations: 3.938 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.2414, allocations: 0 / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2415, allocations: 0 / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.472e-05/0.2415, allocations: 20 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.242, allocations: 356.7 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.885e-05/0.242, allocations: 34.56 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.2421, allocations: 16.8 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.2421, allocations: 0 / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.2422, allocations: 87.36 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.2422, allocations: 0 / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002182/0.2425, allocations: 97.67 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2425, allocations: 63.28 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.2426, allocations: 121.7 kB / 0.7871 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.2426, allocations: 29.7 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.2427, allocations: 100.1 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.2427, allocations: 15.81 kB / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-05/0.2428, allocations: 49.69 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2429, allocations: 318.8 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2431, allocations: 59.97 kB / 0.7876 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.2432, allocations: 96.25 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.2434, allocations: 155.6 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2434, allocations: 0 / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003768/0.2438, allocations: 252.9 kB / 0.7881 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.2438, allocations: 71.39 kB / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2438, allocations: 0 / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.2439, allocations: 8.125 kB / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-05/0.2439, allocations: 3.938 kB / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2439, allocations: 4 kB / 0.7882 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.2442, allocations: 59.77 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.2443, allocations: 16.45 kB / 0.7883 GB, free: 7.988 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 8.696e-05/0.2444, allocations: 125.8 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.2444, allocations: 11.89 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.2444, allocations: 8.375 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.2444, allocations: 0 / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2444, allocations: 3.938 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2444, allocations: 0 / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.2446, allocations: 181.6 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2446, allocations: 4.062 kB / 0.7886 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-06/0.2446, allocations: 7.938 kB / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2446, allocations: 0 / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2446, allocations: 0 / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2446, allocations: 4 kB / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2446, allocations: 0 / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.2448, allocations: 113 kB / 0.7887 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.2448, allocations: 85.02 kB / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.2448, allocations: 3.984 kB / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/0.2448, allocations: 3.938 kB / 0.7888 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.2449, allocations: 4 kB / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.2449, allocations: 11.98 kB / 0.7888 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.2449, allocations: 95.22 kB / 0.7889 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2449, allocations: 0 / 0.7889 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002168/0.2452, allocations: 24 kB / 0.7889 GB, free: 7.219 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.000381/0.2455, allocations: 0.6475 MB / 0.7896 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.2458, allocations: 254.7 kB / 0.7898 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2459, allocations: 0 / 0.7898 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/0.2459, allocations: 31.92 kB / 0.7898 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.2461, allocations: 16.61 kB / 0.7899 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.2477, allocations: 1.714 MB / 0.7915 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.248, allocations: 0.6924 MB / 0.7922 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.248, allocations: 4 kB / 0.7922 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.248, allocations: 23.42 kB / 0.7922 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.248, allocations: 0 / 0.7922 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.2602, allocations: 2.762 MB / 0.7949 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.2604, allocations: 198.9 kB / 0.7951 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.013, allocations: 4 kB / 0.7951 GB, free: 0.75 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)