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.001288/0.001288, 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.001618/0.001618, allocations: 186.8 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.589/1.589, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.795/1.795, 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.001462/0.001462, allocations: 67.64 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2306, 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.And3): time 0.002641/0.2333, allocations: 0.7135 MB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.2354, allocations: 1.262 MB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.2355, allocations: 4 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.2355, allocations: 7.938 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.2357, allocations: 15.84 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2368, allocations: 307.8 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.2372, allocations: 279.6 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2374, allocations: 12.19 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.2376, allocations: 107.8 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.2377, allocations: 95.67 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.647e-05/0.2378, allocations: 24 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.793e-05/0.2379, allocations: 35.98 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.2379, allocations: 15.97 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.238, allocations: 83.75 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.2383, allocations: 223.6 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2383, allocations: 0 / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2383, allocations: 0 / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2383, allocations: 4 kB / 0.7867 GB, free: 10.07 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.0005741/0.2389, allocations: 496.3 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.239, allocations: 8.031 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.239, allocations: 42.73 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.2391, allocations: 12.84 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2392, allocations: 172.2 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.2392, allocations: 12.36 kB / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.2393, allocations: 16.38 kB / 0.7875 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.2394, allocations: 57.98 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2395, allocations: 7.938 kB / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.2395, allocations: 0 / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2395, allocations: 4 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.183e-05/0.2396, allocations: 19.98 kB / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.2401, allocations: 412.5 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.432e-05/0.2402, allocations: 34.56 kB / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.2402, allocations: 24.88 kB / 0.788 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.2403, allocations: 4 kB / 0.788 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.2405, allocations: 91.36 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.785e-06/0.2405, allocations: 0 / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003091/0.2408, allocations: 149.4 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.2409, allocations: 59.39 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.241, allocations: 132.5 kB / 0.7884 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.241, allocations: 33.7 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.2411, allocations: 97.2 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.2411, allocations: 31.7 kB / 0.7886 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.2412, allocations: 73.61 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2414, allocations: 318.8 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.2415, allocations: 91.94 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.2417, allocations: 134 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.242, allocations: 227 kB / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.242, allocations: 4 kB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005317/0.2425, allocations: 374.4 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.884e-05/0.2426, allocations: 101.1 kB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2426, allocations: 0 / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2426, allocations: 4 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-05/0.2427, allocations: 4 kB / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2427, allocations: 0 / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.2431, allocations: 87.98 kB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.2432, allocations: 23.92 kB / 0.7899 GB, free: 6.434 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.000108/0.2433, allocations: 133.7 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.2433, allocations: 7.906 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.2434, allocations: 12.36 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2434, allocations: 0 / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.2434, allocations: 8 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2434, allocations: 3.984 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.2435, allocations: 189.6 kB / 0.7903 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2436, allocations: 0 / 0.7903 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.2436, allocations: 0 / 0.7903 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2436, allocations: 4 kB / 0.7903 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2436, allocations: 11.98 kB / 0.7903 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2436, allocations: 3.938 kB / 0.7903 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2436, allocations: 0 / 0.7903 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.2438, allocations: 141.3 kB / 0.7904 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.2438, allocations: 88.94 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2439, allocations: 4 kB / 0.7905 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/0.2439, allocations: 3.938 kB / 0.7905 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.2439, allocations: 11.98 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.2439, allocations: 4 kB / 0.7905 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.244, allocations: 99.27 kB / 0.7906 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.244, allocations: 0 / 0.7906 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002596/0.2443, allocations: 44 kB / 0.7907 GB, free: 5.582 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.000477/0.2448, allocations: 0.6747 MB / 0.7913 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.2452, allocations: 366 kB / 0.7917 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2452, allocations: 384 / 0.7917 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.349e-05/0.2453, allocations: 39.98 kB / 0.7917 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2456, allocations: 30.41 kB / 0.7918 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.2479, allocations: 2.063 MB / 0.7938 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.2481, allocations: 0.6963 MB / 0.7945 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.2481, allocations: 4.438 kB / 0.7945 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.2482, allocations: 27.42 kB / 0.7945 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2482, allocations: 4 kB / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.2667, allocations: 3.79 MB / 0.7982 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.868, allocations: 14.45 kB / 0.7982 GB, free: 13.76 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --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)