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.001542/0.001542, allocations: 109.4 kB / 15.69 MB, free: 128 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.001834/0.001834, allocations: 187.8 kB / 16.62 MB, free: 6.613 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.801/1.801, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001568/0.001568, allocations: 71.28 kB / 0.6718 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2745, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002213/0.2767, allocations: 0.6705 MB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.2785, allocations: 1.191 MB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.2786, allocations: 0 / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.2786, allocations: 3.938 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.2787, allocations: 7.875 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006859/0.2794, allocations: 220.9 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.2797, allocations: 187.7 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2798, allocations: 8 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.2799, allocations: 63.89 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.28, allocations: 59.84 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.2801, allocations: 16 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.589e-05/0.2802, allocations: 31.98 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.2802, allocations: 11.92 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.2803, allocations: 55.89 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.2805, allocations: 167.7 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2805, allocations: 0 / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2805, allocations: 0 / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.2806, allocations: 0 / 0.7863 GB, free: 10.57 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.0005468/0.2811, allocations: 433.1 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.2812, allocations: 16.02 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.2812, allocations: 30.75 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.2813, allocations: 8.938 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2814, allocations: 168.3 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2814, allocations: 12.38 kB / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.2814, allocations: 12.36 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.2815, allocations: 42.25 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.2816, allocations: 7.875 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2816, allocations: 4 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2816, allocations: 0 / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/0.2816, allocations: 23.98 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.2821, allocations: 348.7 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.2822, allocations: 38.58 kB / 0.7874 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.2822, allocations: 16.88 kB / 0.7874 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.2823, allocations: 3.938 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.2824, allocations: 83.22 kB / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2825, allocations: 0 / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002417/0.2827, allocations: 105.7 kB / 0.7876 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.2828, allocations: 59.34 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.2829, allocations: 125.7 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.2829, allocations: 29.7 kB / 0.7878 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.283, allocations: 88.14 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.283, allocations: 11.81 kB / 0.7879 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.2831, allocations: 49.69 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2833, allocations: 322.8 kB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2834, allocations: 59.97 kB / 0.7883 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.2836, allocations: 100.2 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.2838, allocations: 151.6 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2838, allocations: 4 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004498/0.2843, allocations: 261.3 kB / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.438e-05/0.2843, allocations: 67.39 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2843, allocations: 0 / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2844, allocations: 4 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.466e-05/0.2844, allocations: 15.86 kB / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2844, allocations: 4 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.2848, allocations: 59.91 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.2848, allocations: 8 kB / 0.7889 GB, free: 7.543 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 9.613e-05/0.2849, allocations: 125.8 kB / 0.789 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.2849, allocations: 7.906 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.285, allocations: 8.375 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.285, allocations: 0 / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.285, allocations: 4 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.285, allocations: 4 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.2851, allocations: 177.6 kB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.2851, allocations: 4 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/0.2851, allocations: 7.922 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2852, allocations: 0 / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2852, allocations: 0 / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2852, allocations: 0 / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2852, allocations: 4 kB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.2853, allocations: 114.4 kB / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.2854, allocations: 85.02 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.2854, allocations: 8.047 kB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.885e-05/0.2854, allocations: 0 / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.2855, allocations: 4 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.2855, allocations: 8 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.838e-05/0.2855, allocations: 91.27 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.743e-06/0.2855, allocations: 0 / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002258/0.2858, allocations: 27.94 kB / 0.7896 GB, free: 6.781 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.0005209/0.2863, allocations: 0.6592 MB / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.2867, allocations: 246.7 kB / 0.7904 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2867, allocations: 0 / 0.7904 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.775e-05/0.2867, allocations: 27.94 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.287, allocations: 20.45 kB / 0.7905 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.2889, allocations: 1.719 MB / 0.7922 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.2892, allocations: 0.6807 MB / 0.7928 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.2893, allocations: 11.77 kB / 0.7928 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.2893, allocations: 23.38 kB / 0.7929 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2893, allocations: 0 / 0.7929 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.3095, allocations: 2.864 MB / 0.7957 GB, free: 444 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/7.6, allocations: 5.109 kB / 0.7957 GB, free: 440 kB / 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)