Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.474/1.474, allocations: 288.4 MB / 303.6 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009138/0.0009139, allocations: 184.4 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006279/0.0006279, allocations: 98.28 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 13.41 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0006008/0.148, allocations: 390.8 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.149, allocations: 1.173 MB / 0.9817 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.1491, allocations: 4 kB / 0.9817 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.1491, allocations: 3.938 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.1492, allocations: 7.922 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.1496, allocations: 190.8 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.1498, allocations: 135.8 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.077e-05/0.1498, allocations: 15.92 kB / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.1499, allocations: 59.89 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.15, allocations: 43.88 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.15, allocations: 8 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.1501, allocations: 19.98 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1501, allocations: 11.97 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.1502, allocations: 69.55 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.82e-05/0.1503, allocations: 108 kB / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1503, allocations: 0 / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1503, allocations: 0 / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.1503, allocations: 0 / 0.9824 GB, free: 24.99 MB / 0.6198 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.0002789/0.1506, allocations: 410.8 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.1506, allocations: 11.97 kB / 0.9828 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.501e-05/0.1507, allocations: 38.73 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.1507, allocations: 12.84 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.813e-05/0.1508, allocations: 164.4 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1508, allocations: 4.375 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1508, allocations: 12.38 kB / 0.983 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.46e-05/0.1509, allocations: 54.17 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1509, allocations: 3.938 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.1509, allocations: 4 kB / 0.9831 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.1509, allocations: 0 / 0.9831 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/0.151, allocations: 15.98 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.1513, allocations: 360.6 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.723e-05/0.1514, allocations: 30.56 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.1514, allocations: 24.73 kB / 0.9835 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.1514, allocations: 4.094 kB / 0.9835 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.1515, allocations: 79.36 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.1515, allocations: 0 / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001815/0.1517, allocations: 97.58 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.1517, allocations: 59.34 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.1518, allocations: 113.8 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1518, allocations: 41.69 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.1519, allocations: 96.03 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.1519, allocations: 7.906 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.1519, allocations: 4 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.321e-05/0.152, allocations: 322.8 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1521, allocations: 59.97 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1522, allocations: 88.62 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1523, allocations: 163.7 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1523, allocations: 0 / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003024/0.1526, allocations: 260.8 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.1527, allocations: 71.52 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1527, allocations: 0 / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.1527, allocations: 4 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-05/0.1527, allocations: 3.938 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1527, allocations: 4 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.1531, allocations: 83.77 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.1531, allocations: 12 kB / 0.985 GB, free: 22.01 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.1532, allocations: 132.3 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.1532, allocations: 0 / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.1532, allocations: 16.38 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1532, allocations: 0 / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1532, allocations: 0 / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1532, allocations: 0 / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.943e-05/0.1533, allocations: 181.5 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1533, allocations: 0 / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-06/0.1533, allocations: 11.94 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1533, allocations: 0 / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1533, allocations: 0 / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1534, allocations: 8 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1534, allocations: 0 / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.512e-05/0.1535, allocations: 117.1 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.1535, allocations: 81.02 kB / 0.9855 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1535, allocations: 11.97 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.788e-05/0.1535, allocations: 0 / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.1536, allocations: 4 kB / 0.9855 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1536, allocations: 3.984 kB / 0.9855 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.333e-05/0.1536, allocations: 95.16 kB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1536, allocations: 0 / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002009/0.1538, allocations: 43.98 kB / 0.9856 GB, free: 21.23 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000245/0.1541, allocations: 0.6513 MB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1543, allocations: 246.7 kB / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1543, allocations: 256 / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.1543, allocations: 31.92 kB / 0.9865 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.1545, allocations: 15.98 kB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007723/0.1553, allocations: 0.6948 MB / 0.9872 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.448e-05/0.1554, allocations: 0.6887 MB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.026e-05/0.1554, allocations: 4 kB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.1555, allocations: 27.42 kB / 0.9879 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1555, allocations: 3.938 kB / 0.9879 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1711/0.3265, allocations: 2.589 MB / 0.9905 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/0.3267, allocations: 198.3 kB / 0.9907 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/1.828, allocations: 0 / 0.9907 GB, free: 16.06 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)