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.674/1.674, allocations: 288.4 MB / 303.3 MB, free: 8.152 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.001095/0.001095, allocations: 190.9 kB / 372 MB, free: 10.25 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.798/1.798, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.001068/0.001068, allocations: 96.22 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.000411, allocations: 12.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2565, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0009538/0.2575, allocations: 390.7 kB / 0.98 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2593, allocations: 1.161 MB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.2593, allocations: 4 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2594, allocations: 0 / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.821e-05/0.2594, allocations: 11.92 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007391/0.2602, allocations: 201.2 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.2604, allocations: 127.7 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2605, allocations: 15.98 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.2606, allocations: 55.89 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2608, allocations: 47.86 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.2608, allocations: 8 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.2609, allocations: 20 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.261, allocations: 11.97 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.261, allocations: 41.64 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.2612, allocations: 104 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2612, allocations: 0 / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.427e-06/0.2613, allocations: 0 / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.2613, allocations: 0 / 0.9818 GB, free: 25.36 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.0005538/0.2618, allocations: 410.7 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.2619, allocations: 12.02 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.262, allocations: 34.56 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.659e-05/0.262, allocations: 11.91 kB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2622, allocations: 171 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.2622, allocations: 4 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.2622, allocations: 11.94 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.2623, allocations: 49.69 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2624, allocations: 0 / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2624, allocations: 11.92 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2624, allocations: 0 / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.2624, allocations: 12 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.2629, allocations: 360.6 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.555e-05/0.263, allocations: 34.5 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.263, allocations: 16.8 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.263, allocations: 8 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.2632, allocations: 75.47 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2632, allocations: 0 / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002289/0.2634, allocations: 105.5 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.2635, allocations: 59.39 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.2636, allocations: 118 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.2636, allocations: 33.7 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.2637, allocations: 92.23 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.2637, allocations: 15.89 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.2637, allocations: 0 / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.2638, allocations: 318.8 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2639, allocations: 59.97 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.264, allocations: 88.25 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.2642, allocations: 119.3 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2642, allocations: 0 / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003602/0.2645, allocations: 261.3 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.2646, allocations: 71.39 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2646, allocations: 0 / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2646, allocations: 3.938 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.552e-05/0.2647, allocations: 8.125 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2647, allocations: 4.297 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.2651, allocations: 75.88 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.2651, allocations: 19.94 kB / 0.9843 GB, free: 22.44 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 8.956e-05/0.2652, allocations: 121.8 kB / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.2652, allocations: 7.906 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.2653, allocations: 12.38 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2653, allocations: 0 / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2653, allocations: 4.062 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2653, allocations: 4 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2654, allocations: 181.6 kB / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2654, allocations: 0 / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.2655, allocations: 0 / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.2655, allocations: 3.984 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.2655, allocations: 4 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2655, allocations: 7.922 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2655, allocations: 3.984 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.2656, allocations: 116.9 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.2657, allocations: 85 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.2657, allocations: 0 / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.2657, allocations: 4 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.2658, allocations: 7.984 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2658, allocations: 4 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.193e-05/0.2658, allocations: 91.27 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2658, allocations: 0 / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002262/0.266, allocations: 28 kB / 0.985 GB, free: 21.67 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.0003441/0.2664, allocations: 0.6553 MB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.2667, allocations: 246.7 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2667, allocations: 0 / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/0.2667, allocations: 23.98 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.267, allocations: 26.7 kB / 0.9859 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000939/0.2679, allocations: 0.7029 MB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.2681, allocations: 0.6887 MB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.346e-05/0.2681, allocations: 4 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.2682, allocations: 15.42 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.2682, allocations: 7.938 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.2826, allocations: 2.58 MB / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.2828, allocations: 195.3 kB / 0.99 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/1.825, allocations: 0 / 0.99 GB, free: 16.51 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)