Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.932/1.932, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005666/0.0005666, allocations: 15.53 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.252, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0009207/0.253, allocations: 394.5 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2546, allocations: 1.123 MB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.2546, allocations: 0 / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.2546, allocations: 7.938 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.778e-05/0.2547, allocations: 11.97 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.2554, allocations: 199.5 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.2555, allocations: 75.91 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2556, allocations: 15.97 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2557, allocations: 55.91 kB / 0.7891 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.2558, allocations: 47.86 kB / 0.7891 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.2559, allocations: 8 kB / 0.7891 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.632e-05/0.2559, allocations: 23.98 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.256, allocations: 7.922 kB / 0.7892 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.256, allocations: 41.7 kB / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.2562, allocations: 108 kB / 0.7893 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2562, allocations: 0 / 0.7893 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2562, allocations: 0 / 0.7893 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2562, allocations: 0 / 0.7893 GB, free: 9.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005083/0.2567, allocations: 406.7 kB / 0.7897 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2568, allocations: 16.03 kB / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.2568, allocations: 30.56 kB / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.2569, allocations: 11.91 kB / 0.7897 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.257, allocations: 167 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.2571, allocations: 11.94 kB / 0.7899 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.2571, allocations: 12 kB / 0.7899 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.2572, allocations: 41.69 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2572, allocations: 0 / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2573, allocations: 0 / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2573, allocations: 0 / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.788e-05/0.2573, allocations: 19.98 kB / 0.79 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.2579, allocations: 360.6 kB / 0.7903 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.568e-05/0.2579, allocations: 38.55 kB / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.258, allocations: 3.984 kB / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.2581, allocations: 87.3 kB / 0.7904 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2582, allocations: 0 / 0.7904 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002622/0.2584, allocations: 101.5 kB / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2585, allocations: 55.41 kB / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2586, allocations: 114 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.2586, allocations: 37.69 kB / 0.7907 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.2587, allocations: 92.23 kB / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.2587, allocations: 11.89 kB / 0.7908 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.2588, allocations: 4 kB / 0.7908 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2589, allocations: 326.8 kB / 0.7912 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.259, allocations: 59.97 kB / 0.7912 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.2592, allocations: 92.25 kB / 0.7913 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.2593, allocations: 111.3 kB / 0.7914 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2593, allocations: 4 kB / 0.7914 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003996/0.2597, allocations: 260.8 kB / 0.7917 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.2598, allocations: 67.39 kB / 0.7917 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2598, allocations: 4 kB / 0.7917 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2598, allocations: 0 / 0.7917 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.112e-05/0.2598, allocations: 4 kB / 0.7917 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2599, allocations: 480 / 0.7917 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.2602, allocations: 82.38 kB / 0.7918 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.2603, allocations: 15.98 kB / 0.7918 GB, free: 6.863 MB / 0.6075 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.0001122/0.2604, allocations: 129.7 kB / 0.792 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.2604, allocations: 11.89 kB / 0.792 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.2605, allocations: 12.31 kB / 0.792 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2605, allocations: 4 kB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2605, allocations: 64 / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2605, allocations: 4 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2606, allocations: 173.6 kB / 0.7921 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2606, allocations: 3.984 kB / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-06/0.2607, allocations: 0 / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2607, allocations: 4 kB / 0.7922 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2607, allocations: 4 kB / 0.7922 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2607, allocations: 3.938 kB / 0.7922 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2607, allocations: 0 / 0.7922 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.2608, allocations: 120.9 kB / 0.7923 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.2609, allocations: 81.02 kB / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.2609, allocations: 0 / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.336e-05/0.261, allocations: 8 kB / 0.7924 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.261, allocations: 7.984 kB / 0.7924 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.261, allocations: 4 kB / 0.7924 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.2611, allocations: 91.27 kB / 0.7925 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2611, allocations: 0 / 0.7925 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002359/0.2613, allocations: 32 kB / 0.7925 GB, free: 6.086 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: 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.0004905/0.2618, allocations: 0.6556 MB / 0.7931 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.2622, allocations: 246.7 kB / 0.7934 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2622, allocations: 0 / 0.7934 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.284e-05/0.2622, allocations: 23.98 kB / 0.7934 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.2625, allocations: 15.98 kB / 0.7934 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.2636, allocations: 0.9991 MB / 0.7944 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.264, allocations: 0.689 MB / 0.7951 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.517e-05/0.2641, allocations: 4 kB / 0.7951 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.2641, allocations: 23.36 kB / 0.7951 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of SimCode: time 1.022e-06/0.2641, allocations: 0 / 0.7951 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.2777, allocations: 2.531 MB / 0.7976 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.2779, allocations: 186.9 kB / 0.7977 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.281, allocations: 0 / 0.7977 GB, free: 0.6562 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) Environment - environmentSimulation: