Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.001551/0.001551, allocations: 105.4 kB / 15.7 MB, free: 24 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.001712/0.001712, allocations: 196.5 kB / 16.64 MB, free: 6.449 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.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.719/1.719, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.002624/0.002624, allocations: 74.77 kB / 0.6718 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2435, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002165/0.2457, allocations: 0.8682 MB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2475, allocations: 1.468 MB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.2476, allocations: 4 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.2477, allocations: 15.8 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.353e-05/0.2478, allocations: 31.7 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.249, allocations: 0.5206 MB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.2496, allocations: 0.4953 MB / 0.787 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.2497, allocations: 41.48 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.2499, allocations: 187.7 kB / 0.7872 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.2502, allocations: 171.5 kB / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.2503, allocations: 40 kB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.2504, allocations: 55.98 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.2505, allocations: 43.83 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.2507, allocations: 159.5 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.2511, allocations: 415.1 kB / 0.788 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2511, allocations: 0 / 0.788 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2512, allocations: 0 / 0.788 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.2512, allocations: 0 / 0.788 GB, free: 8.723 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.0008693/0.252, allocations: 0.6437 MB / 0.7887 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.2521, allocations: 12.03 kB / 0.7887 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.712e-05/0.2522, allocations: 50.67 kB / 0.7887 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.233e-05/0.2523, allocations: 28.75 kB / 0.7887 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.2526, allocations: 275.9 kB / 0.789 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.2526, allocations: 16.38 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.2527, allocations: 28.38 kB / 0.7891 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.253, allocations: 152.2 kB / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.253, allocations: 3.938 kB / 0.7892 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.253, allocations: 12 kB / 0.7892 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.253, allocations: 0 / 0.7892 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.2532, allocations: 87.88 kB / 0.7893 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008078/0.254, allocations: 0.6992 MB / 0.79 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.2542, allocations: 175.6 kB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.2543, allocations: 44.84 kB / 0.7902 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.2543, allocations: 0 / 0.7902 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.2546, allocations: 157.8 kB / 0.7903 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.2546, allocations: 0 / 0.7903 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0004333/0.255, allocations: 245.4 kB / 0.7906 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.2551, allocations: 63.41 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2552, allocations: 178.2 kB / 0.7908 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.2553, allocations: 37.7 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2554, allocations: 128.5 kB / 0.791 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.2554, allocations: 43.45 kB / 0.791 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.2556, allocations: 117.6 kB / 0.7911 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2558, allocations: 326.8 kB / 0.7914 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.2561, allocations: 152 kB / 0.7916 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.2565, allocations: 258 kB / 0.7918 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.2569, allocations: 404.4 kB / 0.7922 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2569, allocations: 0 / 0.7922 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009238/0.2579, allocations: 0.6147 MB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.258, allocations: 164.4 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.258, allocations: 4.344 kB / 0.793 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.258, allocations: 8 kB / 0.793 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.359e-05/0.2581, allocations: 11.94 kB / 0.793 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2581, allocations: 4 kB / 0.793 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00074/0.2588, allocations: 147.5 kB / 0.7931 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.2589, allocations: 35.92 kB / 0.7932 GB, free: 3.008 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,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.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.0001569/0.2591, allocations: 147.1 kB / 0.7933 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.2591, allocations: 23.73 kB / 0.7933 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.2591, allocations: 17.97 kB / 0.7933 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.2592, allocations: 15.86 kB / 0.7934 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2592, allocations: 4 kB / 0.7934 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2592, allocations: 0 / 0.7934 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.2597, allocations: 0.505 MB / 0.7939 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2597, allocations: 0 / 0.7939 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.2598, allocations: 7.938 kB / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2598, allocations: 0 / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.2598, allocations: 8 kB / 0.7939 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2598, allocations: 0 / 0.7939 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2598, allocations: 3.984 kB / 0.7939 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.2601, allocations: 283.2 kB / 0.7941 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.2602, allocations: 92.86 kB / 0.7942 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.2602, allocations: 7.984 kB / 0.7942 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.2603, allocations: 4 kB / 0.7942 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.2603, allocations: 19.97 kB / 0.7943 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.2603, allocations: 8 kB / 0.7943 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.265e-05/0.2604, allocations: 120.2 kB / 0.7944 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2604, allocations: 0 / 0.7944 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003652/0.2608, allocations: 87.91 kB / 0.7945 GB, free: 1.57 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0005906/0.2614, allocations: 0.8331 MB / 0.7953 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006844/0.2621, allocations: 0.6183 MB / 0.7959 GB, free: 36 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2621, allocations: 7.938 kB / 0.7959 GB, free: 28 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.2622, allocations: 71.91 kB / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.2627, allocations: 54.53 kB / 0.796 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.2662, allocations: 3.013 MB / 0.799 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.2665, allocations: 0.7242 MB / 0.7997 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.465e-05/0.2666, allocations: 21.55 kB / 0.7997 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.2667, allocations: 55.42 kB / 0.7997 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.2667, allocations: 0 / 0.7997 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.2887, allocations: 6.327 MB / 0.8059 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.85, allocations: 14.88 kB / 0.8059 GB, free: 5.691 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)