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.And3.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.And3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.742/1.742, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.00123/0.00123, allocations: 185 kB / 371.8 MB, free: 10.28 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.805/1.805, allocations: 205.4 MB / 0.6305 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.0008626/0.0008625, allocations: 93.89 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004189, allocations: 12.59 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0008721/0.2066, allocations: 426.7 kB / 0.9799 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2077, allocations: 1.181 MB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.2078, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.2078, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.2079, allocations: 31.89 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000703/0.2086, allocations: 271.7 kB / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.2087, allocations: 127.8 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.2088, allocations: 20.17 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9e-05/0.2089, allocations: 83.86 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2091, allocations: 71.77 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.2091, allocations: 12 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.54e-05/0.2092, allocations: 23.98 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.2092, allocations: 8 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.2092, allocations: 49.64 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.2094, allocations: 155.8 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.2094, allocations: 3.938 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2094, allocations: 0 / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.2094, allocations: 0 / 0.9819 GB, free: 25.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003831/0.2098, allocations: 460.2 kB / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2098, allocations: 12.02 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.2099, allocations: 38.48 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.2099, allocations: 15.91 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.141e-05/0.21, allocations: 167 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.21, allocations: 15.94 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.2101, allocations: 15.98 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2102, allocations: 53.67 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2102, allocations: 0 / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.2102, allocations: 8 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2102, allocations: 0 / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.098e-05/0.2103, allocations: 15.98 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.2107, allocations: 420.4 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.644e-05/0.2108, allocations: 38.5 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.2108, allocations: 8 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.2109, allocations: 99.28 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.2109, allocations: 0 / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002568/0.2112, allocations: 137.5 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.2112, allocations: 55.41 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.2113, allocations: 133.8 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.2114, allocations: 29.7 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.2114, allocations: 104 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.2114, allocations: 23.8 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.2115, allocations: 8 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.2115, allocations: 322.8 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2117, allocations: 83.95 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.2119, allocations: 134 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.212, allocations: 169.7 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.212, allocations: 3.938 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004546/0.2125, allocations: 374.2 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/0.2126, allocations: 105.6 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2126, allocations: 3.938 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2126, allocations: 4 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-05/0.2126, allocations: 0 / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.2126, allocations: 15.83 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.2132, allocations: 117.8 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.2132, allocations: 19.98 kB / 0.9849 GB, free: 21.65 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.2133, allocations: 127.5 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.2133, allocations: 7.906 kB / 0.9851 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.2134, allocations: 16.36 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2134, allocations: 0 / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2134, allocations: 0 / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2134, allocations: 3.953 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.2135, allocations: 189.6 kB / 0.9853 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2135, allocations: 4 kB / 0.9853 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-05/0.2135, allocations: 19.92 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2136, allocations: 0 / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.2136, allocations: 4 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2136, allocations: 0 / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2136, allocations: 0 / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.2137, allocations: 140.9 kB / 0.9854 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.2138, allocations: 85.02 kB / 0.9855 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.2138, allocations: 0 / 0.9855 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.2138, allocations: 8 kB / 0.9855 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.2138, allocations: 7.984 kB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.2139, allocations: 8 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.2139, allocations: 95.27 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2139, allocations: 0 / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002415/0.2142, allocations: 47.98 kB / 0.9857 GB, free: 20.81 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: 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 (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.0003035/0.2145, allocations: 0.6846 MB / 0.9863 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.2149, allocations: 365.9 kB / 0.9867 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2149, allocations: 0 / 0.9867 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/0.215, allocations: 39.98 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2153, allocations: 24.3 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.216, allocations: 1.35 MB / 0.9881 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.608e-05/0.2161, allocations: 0.6965 MB / 0.9888 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.2161, allocations: 8.438 kB / 0.9888 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.2162, allocations: 27.42 kB / 0.9888 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2162, allocations: 0 / 0.9888 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.229, allocations: 3.412 MB / 0.9921 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001292/0.2292, allocations: 189.4 kB / 0.9923 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.833, allocations: 0 / 0.9923 GB, free: 13.96 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)