Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.001094/0.001094, 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.001128/0.001127, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.371/1.371, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.669/1.669, 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.001422/0.001422, allocations: 73.31 kB / 0.6718 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2421, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002504/0.2447, allocations: 0.8418 MB / 0.7845 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.2465, allocations: 1.472 MB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.2466, allocations: 4 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.2468, allocations: 19.8 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-05/0.2468, allocations: 31.7 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.2481, allocations: 0.5196 MB / 0.7865 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004921/0.2486, allocations: 0.4953 MB / 0.787 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2488, allocations: 41.48 kB / 0.787 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.2489, allocations: 187.7 kB / 0.7872 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.2492, allocations: 175.5 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.227e-05/0.2493, allocations: 40 kB / 0.7874 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.2494, allocations: 59.97 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.2494, allocations: 39.91 kB / 0.7875 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.2496, allocations: 155.5 kB / 0.7876 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.25, allocations: 419 kB / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.25, allocations: 0 / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/0.25, allocations: 0 / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.25, allocations: 0 / 0.788 GB, free: 8.758 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007293/0.2508, allocations: 0.6438 MB / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2508, allocations: 8.031 kB / 0.7887 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.2509, allocations: 46.73 kB / 0.7887 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.251, allocations: 28.75 kB / 0.7887 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.2513, allocations: 271.9 kB / 0.789 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2513, allocations: 28.28 kB / 0.789 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.2514, allocations: 28.38 kB / 0.789 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.2517, allocations: 156.2 kB / 0.7892 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2517, allocations: 3.938 kB / 0.7892 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2517, allocations: 8 kB / 0.7892 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2517, allocations: 4 kB / 0.7892 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.2519, allocations: 87.88 kB / 0.7893 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008097/0.2527, allocations: 0.7031 MB / 0.79 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.2529, allocations: 171.6 kB / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.015e-05/0.253, allocations: 44.84 kB / 0.7902 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.253, allocations: 0 / 0.7902 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.2532, allocations: 151.2 kB / 0.7903 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.2533, allocations: 0 / 0.7903 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0004475/0.2537, allocations: 252.2 kB / 0.7906 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.2538, allocations: 59.41 kB / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.2539, allocations: 178.2 kB / 0.7908 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.254, allocations: 37.7 kB / 0.7908 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.2541, allocations: 128.5 kB / 0.791 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.2541, allocations: 43.45 kB / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.2543, allocations: 117.6 kB / 0.7911 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2544, allocations: 326.8 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.2547, allocations: 159.8 kB / 0.7916 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.2551, allocations: 238.2 kB / 0.7918 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.2555, allocations: 408.3 kB / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2555, allocations: 160 / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009002/0.2564, allocations: 0.6225 MB / 0.7928 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.714e-05/0.2565, allocations: 169.7 kB / 0.793 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2565, allocations: 7.984 kB / 0.793 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2565, allocations: 4 kB / 0.793 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.504e-05/0.2566, allocations: 15.94 kB / 0.793 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2566, allocations: 4 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007489/0.2574, allocations: 147.5 kB / 0.7931 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/0.2574, allocations: 27.98 kB / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001529/0.2576, allocations: 161.5 kB / 0.7933 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.2576, allocations: 23.73 kB / 0.7933 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.2577, allocations: 17.88 kB / 0.7933 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2577, allocations: 4 kB / 0.7934 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2577, allocations: 0 / 0.7934 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2577, allocations: 0 / 0.7934 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.2582, allocations: 0.5061 MB / 0.7938 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2582, allocations: 0 / 0.7938 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.2582, allocations: 7.938 kB / 0.7939 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2582, allocations: 0 / 0.7939 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2583, allocations: 8 kB / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2583, allocations: 0 / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2583, allocations: 7.984 kB / 0.7939 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.2585, allocations: 281.6 kB / 0.7941 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.2586, allocations: 92.86 kB / 0.7942 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.2586, allocations: 7.984 kB / 0.7942 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.415e-05/0.2587, allocations: 4 kB / 0.7942 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.2587, allocations: 19.97 kB / 0.7943 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.2588, allocations: 8 kB / 0.7943 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.673e-05/0.2588, allocations: 128.2 kB / 0.7944 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2589, allocations: 0 / 0.7944 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003385/0.2592, allocations: 79.91 kB / 0.7945 GB, free: 1.602 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000602/0.2598, allocations: 0.8333 MB / 0.7953 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007053/0.2605, allocations: 0.6217 MB / 0.7959 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2605, allocations: 0 / 0.7959 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.2607, allocations: 71.95 kB / 0.796 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.2612, allocations: 56.53 kB / 0.796 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.2646, allocations: 3.001 MB / 0.7989 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.2648, allocations: 0.7242 MB / 0.7996 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.922e-05/0.2649, allocations: 29.53 kB / 0.7997 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.265, allocations: 51.42 kB / 0.7997 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.265, allocations: 0 / 0.7997 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.2872, allocations: 6.325 MB / 0.8059 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/7.949, allocations: 8.266 kB / 0.8059 GB, free: 5.738 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)