Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.001128/0.001128, allocations: 99.55 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.001464/0.001464, 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.76/1.76, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.835/1.835, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0006863/0.0006865, allocations: 16 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2541, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.000798/0.2549, allocations: 398.5 kB / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2562, allocations: 1.119 MB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.2563, allocations: 8 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.2563, allocations: 3.938 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/0.2564, allocations: 3.984 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.2569, allocations: 202.1 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.257, allocations: 83.88 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.717e-05/0.2571, allocations: 12 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.2572, allocations: 63.88 kB / 0.7891 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.2573, allocations: 39.88 kB / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.2573, allocations: 8 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.2574, allocations: 23.98 kB / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.2574, allocations: 7.938 kB / 0.7892 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.2575, allocations: 37.7 kB / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2576, allocations: 104 kB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2576, allocations: 0 / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2576, allocations: 4 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.2576, allocations: 4 kB / 0.7893 GB, free: 9.762 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.0003866/0.258, allocations: 406.7 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2581, allocations: 12.03 kB / 0.7897 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.2581, allocations: 34.55 kB / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.2582, allocations: 11.91 kB / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.2583, allocations: 171 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.2583, allocations: 7.938 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.2583, allocations: 8 kB / 0.7899 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2584, allocations: 49.67 kB / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2585, allocations: 7.984 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2585, allocations: 0 / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2585, allocations: 8 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.2585, allocations: 15.98 kB / 0.79 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.259, allocations: 356.6 kB / 0.7903 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.765e-05/0.2591, allocations: 42.44 kB / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.2591, allocations: 4 kB / 0.7904 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.2593, allocations: 75.47 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.2593, allocations: 0 / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000231/0.2595, allocations: 101.5 kB / 0.7905 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.2596, allocations: 63.38 kB / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.2597, allocations: 114 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.2597, allocations: 33.7 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.2598, allocations: 96.23 kB / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.2598, allocations: 11.89 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.2599, allocations: 8 kB / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.26, allocations: 314.8 kB / 0.7912 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2601, allocations: 63.95 kB / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.2602, allocations: 88.27 kB / 0.7913 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.2604, allocations: 115.3 kB / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2604, allocations: 0 / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003711/0.2607, allocations: 260.8 kB / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.2608, allocations: 71.39 kB / 0.7917 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2608, allocations: 480 / 0.7917 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2608, allocations: 0 / 0.7917 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-05/0.2609, allocations: 8.109 kB / 0.7917 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2609, allocations: 4 kB / 0.7917 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.2613, allocations: 75.88 kB / 0.7918 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.2613, allocations: 19.92 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,or1.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.0001061/0.2614, allocations: 129.7 kB / 0.792 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.2615, allocations: 3.906 kB / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.2615, allocations: 12.38 kB / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2615, allocations: 0 / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2615, allocations: 0 / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2615, allocations: 3.984 kB / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.2617, allocations: 181.6 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2617, allocations: 0 / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-06/0.2617, allocations: 0 / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2617, allocations: 4 kB / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2617, allocations: 3.984 kB / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2617, allocations: 3.938 kB / 0.7922 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2617, allocations: 0 / 0.7922 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.2618, allocations: 112.9 kB / 0.7923 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.2619, allocations: 89 kB / 0.7924 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2619, allocations: 0 / 0.7924 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.2619, allocations: 8 kB / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.262, allocations: 3.984 kB / 0.7924 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.262, allocations: 4.062 kB / 0.7924 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.262, allocations: 91.27 kB / 0.7925 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.262, allocations: 0 / 0.7925 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002321/0.2623, allocations: 28 kB / 0.7925 GB, free: 6.102 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,or1.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.0004128/0.2627, allocations: 0.6514 MB / 0.7931 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003047/0.263, allocations: 251.2 kB / 0.7934 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.263, allocations: 0 / 0.7934 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.2631, allocations: 23.98 kB / 0.7934 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.2633, allocations: 20.23 kB / 0.7934 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.264, allocations: 0.9915 MB / 0.7944 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.2642, allocations: 0.7004 MB / 0.7951 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.2643, allocations: 8 kB / 0.7951 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.2643, allocations: 15.44 kB / 0.7951 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2643, allocations: 0 / 0.7951 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.2795, allocations: 2.536 MB / 0.7976 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/0.2798, allocations: 189.2 kB / 0.7977 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.988, allocations: 0 / 0.7977 GB, free: 0.6602 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) Environment - environmentSimulation: