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.966/2.966, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.002073/0.002073, allocations: 181.5 kB / 371 MB, free: 10.86 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.271/2.271, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.000904/0.0009037, allocations: 99.45 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004969, allocations: 14.55 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0008651/0.2147, allocations: 394.5 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.2162, allocations: 1.158 MB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.2163, allocations: 3.938 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.2163, allocations: 3.984 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.2164, allocations: 11.92 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007732/0.2172, allocations: 198.5 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.2174, allocations: 135.7 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.2175, allocations: 7.984 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.2176, allocations: 55.91 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.2177, allocations: 43.86 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.2177, allocations: 16 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.2178, allocations: 19.98 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.2179, allocations: 11.92 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.2179, allocations: 41.7 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.2181, allocations: 104 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2181, allocations: 0 / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2181, allocations: 0 / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2181, allocations: 0 / 0.9806 GB, free: 26.04 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.0003992/0.2185, allocations: 406.7 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.2186, allocations: 12.02 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/0.2186, allocations: 34.56 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.2187, allocations: 15.91 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2188, allocations: 171 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2188, allocations: 11.94 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.2189, allocations: 11.98 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.219, allocations: 45.69 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.219, allocations: 0 / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2191, allocations: 0 / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2191, allocations: 0 / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.178e-05/0.2191, allocations: 19.98 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.2196, allocations: 364.6 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.931e-05/0.2197, allocations: 34.52 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.2198, allocations: 16.94 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2198, allocations: 0 / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.22, allocations: 79.38 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.306e-06/0.22, allocations: 0 / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002865/0.2203, allocations: 109.5 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.2203, allocations: 59.36 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.2204, allocations: 118 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.2205, allocations: 29.7 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.2205, allocations: 96.22 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.2206, allocations: 11.91 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.2206, allocations: 4 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.2207, allocations: 322.8 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.2209, allocations: 55.97 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.2211, allocations: 92.25 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.2213, allocations: 115.8 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2213, allocations: 4 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005636/0.2219, allocations: 260.7 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.2219, allocations: 71.39 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.222, allocations: 0 / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.222, allocations: 0 / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.291e-05/0.222, allocations: 4 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.222, allocations: 0 / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.2227, allocations: 87.94 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.2227, allocations: 8 kB / 0.9832 GB, free: 23.13 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.0001732/0.2229, allocations: 135.1 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.2229, allocations: 3.906 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.223, allocations: 12.38 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.223, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.223, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.223, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.2231, allocations: 177.6 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2232, allocations: 0 / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/0.2232, allocations: 0 / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2232, allocations: 8 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2232, allocations: 7.984 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2232, allocations: 4.062 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2232, allocations: 0 / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.2234, allocations: 116.9 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.2234, allocations: 81.02 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.2235, allocations: 11.94 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.135e-05/0.2235, allocations: 3.984 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.2236, allocations: 4 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.2236, allocations: 4 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.2236, allocations: 91.27 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2237, allocations: 0 / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000313/0.224, allocations: 32 kB / 0.9838 GB, free: 22.36 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.0003972/0.2244, allocations: 0.656 MB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.2248, allocations: 250.7 kB / 0.9847 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2248, allocations: 3.938 kB / 0.9847 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.213e-05/0.2249, allocations: 24 kB / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.2252, allocations: 11.98 kB / 0.9847 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2266, allocations: 0.7018 MB / 0.9854 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.2267, allocations: 0.6926 MB / 0.9861 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.085e-05/0.2268, allocations: 4 kB / 0.9861 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.2268, allocations: 23.42 kB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of SimCode: time 6.02e-07/0.2269, allocations: 0 / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.2525, allocations: 2.582 MB / 0.9886 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.2528, allocations: 179.9 kB / 0.9888 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/2.778, allocations: 3.938 kB / 0.9888 GB, free: 17.19 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)