Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.00159/0.00159, allocations: 105.4 kB / 15.7 MB, free: 20 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.001896/0.001896, allocations: 194.7 kB / 16.64 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.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.703/1.703, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001437/0.001438, allocations: 66.95 kB / 0.6718 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2303, allocations: 114.6 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002227/0.2325, allocations: 0.7174 MB / 0.7844 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.2341, allocations: 1.258 MB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.2342, allocations: 0 / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.2343, allocations: 3.938 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.2344, allocations: 19.84 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/0.2352, allocations: 312.9 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.2355, allocations: 279.5 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2356, allocations: 16.17 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.2357, allocations: 99.86 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.2359, allocations: 95.67 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.236, allocations: 20 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.2361, allocations: 43.92 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.2361, allocations: 19.92 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.2362, allocations: 83.8 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.2365, allocations: 215.7 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2365, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2365, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.2365, allocations: 0 / 0.7867 GB, free: 10.04 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006098/0.2371, allocations: 496.3 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2372, allocations: 8.031 kB / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.2372, allocations: 34.73 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.2373, allocations: 16.84 kB / 0.7873 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2375, allocations: 180.2 kB / 0.7874 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2375, allocations: 8.375 kB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.2375, allocations: 20.36 kB / 0.7875 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.2377, allocations: 65.86 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2377, allocations: 0 / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2377, allocations: 4 kB / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2377, allocations: 4 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/0.2378, allocations: 19.98 kB / 0.7876 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.2383, allocations: 412.5 kB / 0.788 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.2384, allocations: 38.5 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.2384, allocations: 16.86 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.2384, allocations: 0 / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.2386, allocations: 99.5 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.2386, allocations: 0 / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003159/0.239, allocations: 145.8 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.239, allocations: 55.44 kB / 0.7883 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2391, allocations: 140.5 kB / 0.7884 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.2392, allocations: 37.69 kB / 0.7885 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.2393, allocations: 93.2 kB / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.2393, allocations: 23.66 kB / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.2395, allocations: 69.67 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.2396, allocations: 322.8 kB / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.2398, allocations: 95.94 kB / 0.789 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.24, allocations: 130 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.2402, allocations: 238.3 kB / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2403, allocations: 0 / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000544/0.2408, allocations: 374.4 kB / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.777e-05/0.2409, allocations: 101.1 kB / 0.7898 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2409, allocations: 4.188 kB / 0.7899 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.2409, allocations: 4 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.339e-05/0.2409, allocations: 4 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.241, allocations: 3.938 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.2414, allocations: 79.81 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.2415, allocations: 15.98 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 0.000113/0.2416, allocations: 141.7 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.2416, allocations: 7.906 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.2417, allocations: 12.38 kB / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2417, allocations: 3.984 kB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.2417, allocations: 0 / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2417, allocations: 3.938 kB / 0.7901 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.2419, allocations: 189.6 kB / 0.7903 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2419, allocations: 4 kB / 0.7903 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.015e-05/0.2419, allocations: 7.938 kB / 0.7903 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2419, allocations: 0 / 0.7903 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.2419, allocations: 11.98 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2419, allocations: 0 / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2419, allocations: 0 / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.2421, allocations: 132.9 kB / 0.7904 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.2421, allocations: 85.02 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.2422, allocations: 7.984 kB / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.469e-05/0.2422, allocations: 8.094 kB / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.2423, allocations: 15.92 kB / 0.7906 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.2423, allocations: 4 kB / 0.7906 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.092e-05/0.2423, allocations: 99.27 kB / 0.7907 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2423, allocations: 0 / 0.7907 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002472/0.2426, allocations: 40 kB / 0.7907 GB, free: 5.555 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005283/0.2431, allocations: 0.6786 MB / 0.7914 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.2436, allocations: 366 kB / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2436, allocations: 0 / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.2437, allocations: 39.97 kB / 0.7917 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.244, allocations: 28.28 kB / 0.7918 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.2462, allocations: 2.062 MB / 0.7938 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.2465, allocations: 0.6923 MB / 0.7945 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.2465, allocations: 12.38 kB / 0.7945 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.2466, allocations: 27.42 kB / 0.7945 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.2466, allocations: 4 kB / 0.7945 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.2697, allocations: 3.789 MB / 0.7982 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/7.921, allocations: 12.16 kB / 0.7982 GB, free: 13.73 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)