Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 187.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.705/1.705, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001405/0.001405, allocations: 70.84 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2604, allocations: 114.6 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002089/0.2626, allocations: 0.7096 MB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.2642, allocations: 1.262 MB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.2642, allocations: 4 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.2643, allocations: 7.938 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.2644, allocations: 15.84 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.2652, allocations: 305.9 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000311/0.2655, allocations: 279.6 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.2656, allocations: 12.19 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.2657, allocations: 107.8 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.2659, allocations: 95.67 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.266, allocations: 20 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.2661, allocations: 39.98 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.2661, allocations: 11.98 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.2662, allocations: 87.73 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.2665, allocations: 223.6 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2666, allocations: 0 / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2666, allocations: 0 / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.2666, allocations: 0 / 0.7867 GB, free: 10.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007431/0.2673, allocations: 496.3 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.2674, allocations: 8.031 kB / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.2674, allocations: 38.73 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.2675, allocations: 16.84 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.2677, allocations: 172.2 kB / 0.7874 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.2677, allocations: 8.375 kB / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.2678, allocations: 24.36 kB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.2679, allocations: 57.98 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2679, allocations: 3.938 kB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2679, allocations: 8 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.268, allocations: 0 / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.304e-05/0.268, allocations: 19.98 kB / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.2686, allocations: 412.5 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.2687, allocations: 30.56 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.2688, allocations: 28.88 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.2688, allocations: 0 / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.269, allocations: 95.36 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.369e-05/0.269, allocations: 0 / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003101/0.2693, allocations: 141.7 kB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.2694, allocations: 59.48 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2695, allocations: 140.1 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.2696, allocations: 33.7 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.2697, allocations: 97.2 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.2697, allocations: 27.7 kB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.2698, allocations: 73.61 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.27, allocations: 318.8 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.2702, allocations: 95.94 kB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.2704, allocations: 130 kB / 0.7892 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.2707, allocations: 231 kB / 0.7894 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2707, allocations: 0 / 0.7894 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005838/0.2713, allocations: 381 kB / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/0.2714, allocations: 101.1 kB / 0.7898 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2714, allocations: 0 / 0.7898 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2714, allocations: 4 kB / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.18e-05/0.2714, allocations: 4 kB / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2714, allocations: 0 / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.2719, allocations: 87.98 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.2719, allocations: 20 kB / 0.7899 GB, free: 6.426 MB / 0.6075 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,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.2721, allocations: 133.7 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.2721, allocations: 7.906 kB / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.2721, allocations: 12.38 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2721, allocations: 4 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2721, allocations: 0 / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2722, allocations: 3.984 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.2723, allocations: 193.6 kB / 0.7903 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2723, allocations: 3.984 kB / 0.7903 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.2723, allocations: 0 / 0.7903 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2723, allocations: 0 / 0.7903 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.2724, allocations: 7.984 kB / 0.7903 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2724, allocations: 7.922 kB / 0.7903 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2724, allocations: 4 kB / 0.7903 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.2726, allocations: 137 kB / 0.7904 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.2726, allocations: 92.94 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2726, allocations: 0 / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.451e-05/0.2727, allocations: 8.031 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.2727, allocations: 15.92 kB / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.2727, allocations: 4 kB / 0.7906 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.555e-05/0.2728, allocations: 99.27 kB / 0.7906 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2728, allocations: 0 / 0.7906 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002576/0.2731, allocations: 36 kB / 0.7907 GB, free: 5.574 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004847/0.2736, allocations: 0.6882 MB / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000492/0.2741, allocations: 366 kB / 0.7917 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2741, allocations: 384 / 0.7917 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.124e-05/0.2742, allocations: 39.98 kB / 0.7917 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.2744, allocations: 19.97 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.277, allocations: 2.063 MB / 0.7938 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.2773, allocations: 0.6963 MB / 0.7945 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.077e-05/0.2774, allocations: 8.375 kB / 0.7945 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.2774, allocations: 27.42 kB / 0.7945 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of SimCode: time 4.5e-07/0.2775, allocations: 0 / 0.7945 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.2983, allocations: 3.8 MB / 0.7982 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.851, allocations: 10.66 kB / 0.7982 GB, free: 13.75 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)