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.001437/0.001437, allocations: 108 kB / 15.6 MB, free: 132 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.001662/0.001662, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.7/1.7, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.78/1.78, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.002292/0.002292, allocations: 68.3 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3618, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002923/0.3648, allocations: 0.8538 MB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002738/0.3676, allocations: 1.468 MB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.3677, allocations: 0 / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.3679, allocations: 27.73 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.839e-05/0.368, allocations: 23.72 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.3697, allocations: 0.5228 MB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007304/0.3705, allocations: 0.4914 MB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.3707, allocations: 41.48 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.371, allocations: 187.7 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.3712, allocations: 135.6 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.3714, allocations: 40 kB / 0.7872 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.3715, allocations: 59.97 kB / 0.7872 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.3716, allocations: 39.91 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.3719, allocations: 163.5 kB / 0.7874 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.3725, allocations: 411.1 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3725, allocations: 0 / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3726, allocations: 4 kB / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3726, allocations: 0 / 0.7878 GB, free: 8.91 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.001038/0.3736, allocations: 0.6476 MB / 0.7885 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3737, allocations: 8.031 kB / 0.7885 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.3737, allocations: 42.73 kB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.3739, allocations: 28.75 kB / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.3743, allocations: 272 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.3744, allocations: 24.3 kB / 0.7888 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.513e-05/0.3745, allocations: 28.38 kB / 0.7889 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.3749, allocations: 155.8 kB / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3749, allocations: 3.938 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.3749, allocations: 4 kB / 0.789 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.375, allocations: 4 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.3752, allocations: 83.94 kB / 0.7891 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.3765, allocations: 0.7148 MB / 0.7898 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.3768, allocations: 167.7 kB / 0.7899 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.3769, allocations: 40.84 kB / 0.79 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.3769, allocations: 4 kB / 0.79 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004441/0.3774, allocations: 155.3 kB / 0.7901 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 2.033e-06/0.3774, allocations: 0 / 0.7901 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0007488/0.3782, allocations: 245.3 kB / 0.7904 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.3783, allocations: 55.41 kB / 0.7904 GB, free: 6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.3785, allocations: 182.1 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.191e-05/0.3786, allocations: 45.7 kB / 0.7906 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.3789, allocations: 124.5 kB / 0.7908 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.3789, allocations: 47.48 kB / 0.7908 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/0.3793, allocations: 121.6 kB / 0.7909 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3795, allocations: 326.8 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.38, allocations: 159.8 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.3806, allocations: 234.2 kB / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000765/0.3814, allocations: 408.8 kB / 0.792 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3814, allocations: 4 kB / 0.792 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001623/0.383, allocations: 0.6108 MB / 0.7926 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.3832, allocations: 172.4 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3832, allocations: 4 kB / 0.7928 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.3833, allocations: 4 kB / 0.7928 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.3833, allocations: 8.281 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.3834, allocations: 8 kB / 0.7928 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.3844, allocations: 147.5 kB / 0.7929 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.3845, allocations: 36.03 kB / 0.793 GB, free: 3.195 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.0001883/0.3847, allocations: 157.5 kB / 0.7931 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.3847, allocations: 23.75 kB / 0.7931 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.3847, allocations: 21.86 kB / 0.7932 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3848, allocations: 0 / 0.7932 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3848, allocations: 0 / 0.7932 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3848, allocations: 7.984 kB / 0.7932 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.3854, allocations: 0.5051 MB / 0.7937 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3854, allocations: 4 kB / 0.7937 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.3854, allocations: 3.984 kB / 0.7937 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3854, allocations: 4 kB / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3855, allocations: 4 kB / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3855, allocations: 4 kB / 0.7937 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3855, allocations: 0 / 0.7937 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.3858, allocations: 287.1 kB / 0.794 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.3859, allocations: 92.86 kB / 0.794 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3859, allocations: 4 kB / 0.794 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.386, allocations: 11.98 kB / 0.7941 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.386, allocations: 15.98 kB / 0.7941 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3861, allocations: 15.86 kB / 0.7941 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.432e-05/0.3862, allocations: 124.2 kB / 0.7942 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3862, allocations: 0 / 0.7942 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003959/0.3866, allocations: 79.91 kB / 0.7943 GB, free: 1.746 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.0006806/0.3873, allocations: 0.8369 MB / 0.7951 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008131/0.3881, allocations: 0.6222 MB / 0.7957 GB, free: 208 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3881, allocations: 4.188 kB / 0.7957 GB, free: 204 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3882, allocations: 83.89 kB / 0.7958 GB, free: 120 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.3886, allocations: 39.95 kB / 0.7958 GB, free: 80 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.3927, allocations: 2.991 MB / 0.7987 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3931, allocations: 0.7242 MB / 0.7995 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.973e-05/0.3932, allocations: 21.55 kB / 0.7995 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.3933, allocations: 59.41 kB / 0.7995 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.3933, allocations: 0 / 0.7995 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.4201, allocations: 6.316 MB / 0.8057 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.489, allocations: 8.625 kB / 0.8057 GB, free: 5.883 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)