Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.001117/0.001117, 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.001233/0.001233, allocations: 187.1 kB / 16.62 MB, free: 6.582 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.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.692/1.692, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002257/0.002257, allocations: 69.56 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2353, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002281/0.2376, allocations: 0.6707 MB / 0.7843 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2391, allocations: 1.184 MB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.2392, allocations: 0 / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.2392, allocations: 3.938 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.2393, allocations: 11.92 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.2399, allocations: 225.7 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2401, allocations: 183.7 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.2402, allocations: 4 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.2403, allocations: 75.81 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.2405, allocations: 63.83 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.2405, allocations: 16 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.54e-05/0.2406, allocations: 28 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.2406, allocations: 15.92 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.936e-05/0.2407, allocations: 51.88 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.2409, allocations: 155.8 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2409, allocations: 0 / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2409, allocations: 3.938 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2409, allocations: 0 / 0.7863 GB, free: 10.56 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.0005328/0.2415, allocations: 438.7 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2415, allocations: 8.031 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.2416, allocations: 34.75 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.2416, allocations: 8.938 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.2418, allocations: 172.3 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2418, allocations: 12.36 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.2418, allocations: 8.375 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.2419, allocations: 46.25 kB / 0.787 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2419, allocations: 3.938 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.242, allocations: 0 / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.242, allocations: 0 / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.465e-05/0.242, allocations: 23.92 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.2425, allocations: 356.7 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.845e-05/0.2425, allocations: 30.58 kB / 0.7874 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.2426, allocations: 12.94 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.2426, allocations: 4 kB / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.2428, allocations: 87.2 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2428, allocations: 7.938 kB / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002306/0.243, allocations: 93.67 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2431, allocations: 63.39 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.2432, allocations: 129.6 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.2432, allocations: 29.7 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.2432, allocations: 88.14 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.2433, allocations: 15.81 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.2434, allocations: 49.69 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.2435, allocations: 322.8 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2436, allocations: 63.97 kB / 0.7883 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.2437, allocations: 92.25 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.2439, allocations: 159.6 kB / 0.7885 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2439, allocations: 4 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003759/0.2443, allocations: 248.9 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.2444, allocations: 67.39 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2444, allocations: 4 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.2444, allocations: 0 / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.539e-05/0.2444, allocations: 11.92 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2445, allocations: 4.188 kB / 0.7888 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.2448, allocations: 63.78 kB / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.2448, allocations: 11.98 kB / 0.7889 GB, free: 7.527 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,and1.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.856e-05/0.2449, allocations: 128.7 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.2449, allocations: 4.375 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.245, allocations: 16.38 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.245, allocations: 0 / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.245, allocations: 0 / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.245, allocations: 0 / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.2451, allocations: 185.5 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2451, allocations: 0 / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.2451, allocations: 4 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2451, allocations: 3.938 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.2452, allocations: 7.984 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2452, allocations: 0 / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2452, allocations: 0 / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.2453, allocations: 110.1 kB / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.2453, allocations: 88.95 kB / 0.7894 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.2454, allocations: 7.984 kB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.2454, allocations: 0 / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.2454, allocations: 4 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.2454, allocations: 3.984 kB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.2455, allocations: 87.28 kB / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2455, allocations: 0 / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002266/0.2457, allocations: 36 kB / 0.7896 GB, free: 6.762 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,and1.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.0004148/0.2461, allocations: 0.6552 MB / 0.7902 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.2465, allocations: 242.7 kB / 0.7904 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2465, allocations: 256 / 0.7904 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.2465, allocations: 35.92 kB / 0.7905 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.2468, allocations: 11.98 kB / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.2485, allocations: 1.719 MB / 0.7922 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.2487, allocations: 0.6846 MB / 0.7928 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.2488, allocations: 11.77 kB / 0.7928 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.2488, allocations: 19.44 kB / 0.7929 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2488, allocations: 0 / 0.7929 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.2675, allocations: 2.863 MB / 0.7957 GB, free: 432 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/8.007, allocations: 8.234 kB / 0.7957 GB, free: 428 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)