Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.001517/0.001517, 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.001785/0.001785, allocations: 193.8 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.632/1.632, allocations: 205.1 MB / 222.4 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.835/1.835, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001914/0.001914, allocations: 76.42 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.276, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.003228/0.2792, allocations: 0.7237 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.2813, allocations: 1.254 MB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.2814, allocations: 0 / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.17e-05/0.2815, allocations: 7.922 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.95e-05/0.2816, allocations: 15.86 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.2826, allocations: 308.9 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.2829, allocations: 275.6 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2831, allocations: 16.12 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.2833, allocations: 99.86 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.2835, allocations: 75.77 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-05/0.2836, allocations: 24 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.2838, allocations: 35.98 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.2838, allocations: 11.98 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.284, allocations: 91.73 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.2844, allocations: 219.6 kB / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.2844, allocations: 4 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2844, allocations: 0 / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.2844, allocations: 0 / 0.7866 GB, free: 10.23 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.0008057/0.2852, allocations: 492.3 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.2853, allocations: 8.031 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.2854, allocations: 38.73 kB / 0.7871 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.626e-05/0.2855, allocations: 16.78 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.2856, allocations: 172.2 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.2856, allocations: 20.36 kB / 0.7873 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.2857, allocations: 12.38 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.2859, allocations: 65.97 kB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2859, allocations: 0 / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2859, allocations: 0 / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2859, allocations: 3.938 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.925e-05/0.286, allocations: 23.98 kB / 0.7874 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.2866, allocations: 412.5 kB / 0.7878 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.375e-05/0.2867, allocations: 34.56 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.2867, allocations: 24.88 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.2868, allocations: 0 / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.287, allocations: 95.34 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.287, allocations: 4 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003264/0.2874, allocations: 133.5 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.2874, allocations: 59.39 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2876, allocations: 137 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.2876, allocations: 33.7 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.2877, allocations: 97.27 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.2877, allocations: 27.64 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.2879, allocations: 69.61 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.288, allocations: 326.8 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.2882, allocations: 91.88 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.2884, allocations: 134 kB / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.2887, allocations: 231 kB / 0.7892 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2887, allocations: 0 / 0.7892 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006331/0.2894, allocations: 374.4 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-05/0.2895, allocations: 97.66 kB / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2895, allocations: 8 kB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2895, allocations: 0 / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.582e-05/0.2895, allocations: 4 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2896, allocations: 11.92 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.2901, allocations: 79.81 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.2902, allocations: 23.98 kB / 0.7898 GB, free: 6.598 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,and1.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.0001353/0.2903, allocations: 133.7 kB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.2904, allocations: 11.89 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.2904, allocations: 8.375 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2904, allocations: 7.984 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2904, allocations: 0 / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2904, allocations: 4 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.2906, allocations: 197.5 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2906, allocations: 4 kB / 0.7901 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.2906, allocations: 4 kB / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2907, allocations: 0 / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2907, allocations: 0 / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.2907, allocations: 0 / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2907, allocations: 3.938 kB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.2909, allocations: 136.9 kB / 0.7903 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.291, allocations: 81.02 kB / 0.7903 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.291, allocations: 8 kB / 0.7903 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.624e-05/0.291, allocations: 11.92 kB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.2911, allocations: 4 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.2911, allocations: 11.98 kB / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.578e-05/0.2912, allocations: 95.27 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2912, allocations: 0 / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003419/0.2915, allocations: 44 kB / 0.7905 GB, free: 5.75 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,and1.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.0005916/0.2922, allocations: 0.6874 MB / 0.7912 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.2927, allocations: 366.1 kB / 0.7915 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2927, allocations: 0 / 0.7915 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.734e-05/0.2928, allocations: 39.98 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.2931, allocations: 30.95 kB / 0.7916 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.2956, allocations: 2.058 MB / 0.7936 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.2959, allocations: 0.704 MB / 0.7943 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.2959, allocations: 8.438 kB / 0.7943 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.296, allocations: 27.42 kB / 0.7943 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.296, allocations: 0 / 0.7943 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.3199, allocations: 3.773 MB / 0.798 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.289, allocations: 8.281 kB / 0.798 GB, free: 13.93 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)