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.001173/0.001173, allocations: 108 kB / 15.61 MB, free: 152 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.001235/0.001235, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.635/1.635, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.747/1.747, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001565/0.001565, allocations: 71.92 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2808, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002179/0.283, allocations: 0.7282 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2847, allocations: 1.258 MB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.2848, allocations: 0 / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.2849, allocations: 7.875 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.2849, allocations: 11.86 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008597/0.2858, allocations: 316.8 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.2862, allocations: 263.7 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2863, allocations: 24.11 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2864, allocations: 107.8 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.2866, allocations: 71.78 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.2866, allocations: 24 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.2867, allocations: 35.98 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.2868, allocations: 8 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.2869, allocations: 87.73 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.2872, allocations: 223.7 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.74e-05/0.2872, allocations: 0 / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.717e-06/0.2872, allocations: 4 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2872, allocations: 3.938 kB / 0.7866 GB, free: 10.2 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.0005987/0.2878, allocations: 496.3 kB / 0.787 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2879, allocations: 8.031 kB / 0.787 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.2879, allocations: 34.75 kB / 0.7871 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.288, allocations: 12.84 kB / 0.7871 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.2881, allocations: 180.2 kB / 0.7873 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2881, allocations: 16.38 kB / 0.7873 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.2882, allocations: 12.38 kB / 0.7873 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.2883, allocations: 61.98 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2883, allocations: 0 / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2883, allocations: 0 / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2884, allocations: 0 / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.2884, allocations: 23.98 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.289, allocations: 424.4 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.275e-05/0.2891, allocations: 30.58 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.2891, allocations: 20.94 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.2891, allocations: 0 / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.2894, allocations: 99.28 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2894, allocations: 0 / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002938/0.2897, allocations: 141.5 kB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.2897, allocations: 55.41 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2898, allocations: 133 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.2899, allocations: 37.7 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.29, allocations: 97.19 kB / 0.7884 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.29, allocations: 27.72 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2901, allocations: 69.61 kB / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2903, allocations: 326.8 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.2905, allocations: 87.95 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.2907, allocations: 134.3 kB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.291, allocations: 238.3 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.291, allocations: 0 / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006162/0.2916, allocations: 370.5 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-05/0.2917, allocations: 101 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2918, allocations: 12.17 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2918, allocations: 0 / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.968e-05/0.2918, allocations: 11.92 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2918, allocations: 4 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.2924, allocations: 75.81 kB / 0.7898 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.2924, allocations: 23.98 kB / 0.7898 GB, free: 6.566 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.0001576/0.2926, allocations: 137.7 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.2926, allocations: 7.906 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.2927, allocations: 8.375 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2927, allocations: 7.938 kB / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2927, allocations: 0 / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2927, allocations: 0 / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.2929, allocations: 197.5 kB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2929, allocations: 4 kB / 0.7901 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-06/0.2929, allocations: 4 kB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2929, allocations: 4 kB / 0.7901 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.293, allocations: 0 / 0.7901 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.293, allocations: 3.984 kB / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.293, allocations: 0 / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.2932, allocations: 136.9 kB / 0.7903 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.2932, allocations: 81.02 kB / 0.7903 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.2933, allocations: 11.98 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.2933, allocations: 4 kB / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.2934, allocations: 7.984 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.2934, allocations: 8 kB / 0.7904 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.301e-05/0.2935, allocations: 95.27 kB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2935, allocations: 0 / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002789/0.2938, allocations: 44.09 kB / 0.7905 GB, free: 5.723 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.0005825/0.2943, allocations: 0.6864 MB / 0.7912 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.2948, allocations: 362 kB / 0.7915 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2949, allocations: 0 / 0.7915 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/0.2949, allocations: 43.92 kB / 0.7916 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.2952, allocations: 28.34 kB / 0.7916 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.2977, allocations: 2.042 MB / 0.7936 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.298, allocations: 0.7001 MB / 0.7943 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.109e-05/0.298, allocations: 12.42 kB / 0.7943 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.2981, allocations: 23.72 kB / 0.7943 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2981, allocations: 0 / 0.7943 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.3187, allocations: 3.781 MB / 0.798 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.139, allocations: 9.172 kB / 0.798 GB, free: 13.91 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)