Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.718/2.718, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001637/0.001636, allocations: 187.5 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.299/2.299, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001741/0.001741, allocations: 98.91 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006658/0.000666, allocations: 17.61 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2269, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0008643/0.2278, allocations: 394.5 kB / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.2294, allocations: 1.126 MB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.2295, allocations: 4 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.2296, allocations: 0 / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.661e-05/0.2297, allocations: 15.95 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.2305, allocations: 194 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.2306, allocations: 83.89 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.2307, allocations: 7.984 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.2308, allocations: 59.89 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2309, allocations: 47.81 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.231, allocations: 8 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.2311, allocations: 19.98 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.2311, allocations: 19.91 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.2312, allocations: 33.7 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.2314, allocations: 112 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2314, allocations: 4 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2314, allocations: 0 / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2314, allocations: 0 / 0.9804 GB, free: 26.15 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004041/0.2318, allocations: 398.7 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2319, allocations: 16.02 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.2319, allocations: 30.56 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.232, allocations: 15.91 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.087e-05/0.2321, allocations: 171 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2321, allocations: 11.98 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.2322, allocations: 8 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.2323, allocations: 45.69 kB / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2323, allocations: 0 / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2323, allocations: 0 / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2323, allocations: 4 kB / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.184e-05/0.2324, allocations: 15.98 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.2329, allocations: 360.5 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.527e-05/0.233, allocations: 34.58 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.233, allocations: 0 / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.2332, allocations: 83.44 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.2332, allocations: 3.938 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003405/0.2336, allocations: 105.5 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.2336, allocations: 59.41 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.2337, allocations: 118.3 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.2338, allocations: 29.7 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.2339, allocations: 96.22 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.2339, allocations: 12 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.2339, allocations: 7.938 kB / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.234, allocations: 318.8 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2342, allocations: 59.97 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.2344, allocations: 96.2 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.2346, allocations: 115.4 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2346, allocations: 0 / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005716/0.2352, allocations: 260.8 kB / 0.9827 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/0.2353, allocations: 75.52 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2353, allocations: 0 / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2353, allocations: 64 / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.631e-05/0.2354, allocations: 8 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2354, allocations: 3.938 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/0.236, allocations: 79.83 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.2361, allocations: 11.98 kB / 0.9829 GB, free: 23.26 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.2362, allocations: 125.8 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.2362, allocations: 3.906 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.2363, allocations: 16.36 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2363, allocations: 0 / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2363, allocations: 0 / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2363, allocations: 0 / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.2364, allocations: 181.6 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2365, allocations: 0 / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.364e-05/0.2365, allocations: 3.984 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2365, allocations: 4 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2365, allocations: 0 / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2365, allocations: 0 / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2365, allocations: 0 / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.2367, allocations: 120.9 kB / 0.9833 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.2368, allocations: 84.95 kB / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.2368, allocations: 4.094 kB / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.2368, allocations: 3.938 kB / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.2369, allocations: 7.969 kB / 0.9834 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2369, allocations: 8 kB / 0.9834 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.2369, allocations: 91.27 kB / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.237, allocations: 0 / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003269/0.2373, allocations: 32 kB / 0.9835 GB, free: 22.49 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: 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 (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.0004282/0.2377, allocations: 0.6475 MB / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.2382, allocations: 242.7 kB / 0.9844 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2382, allocations: 256 / 0.9844 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.484e-05/0.2383, allocations: 31.98 kB / 0.9844 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2385, allocations: 11.98 kB / 0.9845 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/0.2392, allocations: 0.9925 MB / 0.9854 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.2394, allocations: 0.6926 MB / 0.9861 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.2394, allocations: 4 kB / 0.9861 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.2395, allocations: 23.42 kB / 0.9861 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2395, allocations: 0 / 0.9861 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.2611, allocations: 2.541 MB / 0.9886 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.2614, allocations: 183.9 kB / 0.9888 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.613, allocations: 0 / 0.9888 GB, free: 17.07 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)