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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001221, 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.001511/0.001511, allocations: 192.5 kB / 16.64 MB, free: 6.594 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.751/1.751, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.815/1.815, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001836/0.001836, allocations: 74.72 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2859, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002883/0.2889, allocations: 0.7212 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00223/0.2911, allocations: 1.254 MB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.2913, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.373e-05/0.2914, allocations: 3.938 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.2916, allocations: 27.78 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.2928, allocations: 305.5 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.2933, allocations: 275.5 kB / 0.7867 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.2935, allocations: 20.16 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.2937, allocations: 95.86 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.294, allocations: 95.73 kB / 0.7869 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.633e-05/0.2941, allocations: 23.94 kB / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.2942, allocations: 31.98 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.2943, allocations: 27.92 kB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.2944, allocations: 79.8 kB / 0.787 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.2949, allocations: 219.4 kB / 0.7872 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2949, allocations: 0 / 0.7872 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2949, allocations: 0 / 0.7872 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.295, allocations: 0 / 0.7872 GB, free: 9.578 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.0008838/0.2958, allocations: 492.3 kB / 0.7877 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.2959, allocations: 8.031 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.569e-05/0.296, allocations: 16.84 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.2962, allocations: 183.1 kB / 0.7879 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.2962, allocations: 8.375 kB / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.2963, allocations: 16.31 kB / 0.7879 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.2965, allocations: 62.17 kB / 0.788 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2965, allocations: 3.938 kB / 0.788 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.2965, allocations: 3.984 kB / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2965, allocations: 0 / 0.788 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.976e-05/0.2966, allocations: 20 kB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.2972, allocations: 420.4 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.17e-05/0.2973, allocations: 42.44 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.2974, allocations: 16.86 kB / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.2974, allocations: 0 / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.2977, allocations: 103.4 kB / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.195e-06/0.2977, allocations: 0 / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003523/0.298, allocations: 137.5 kB / 0.7887 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.2981, allocations: 55.41 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2983, allocations: 133.7 kB / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.2983, allocations: 33.7 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/0.2984, allocations: 101.2 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.2985, allocations: 23.66 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.2986, allocations: 65.67 kB / 0.7891 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.2988, allocations: 326.8 kB / 0.7894 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.299, allocations: 87.95 kB / 0.7895 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.2992, allocations: 144.7 kB / 0.7896 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.2996, allocations: 242.6 kB / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2996, allocations: 0 / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006567/0.3002, allocations: 370.5 kB / 0.7902 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.3004, allocations: 101.1 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3004, allocations: 4.188 kB / 0.7903 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.3004, allocations: 4 kB / 0.7903 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.748e-05/0.3004, allocations: 7.938 kB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3005, allocations: 4 kB / 0.7903 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/0.301, allocations: 79.81 kB / 0.7904 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.301, allocations: 15.98 kB / 0.7904 GB, free: 5.984 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.0001782/0.3012, allocations: 137.8 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.3013, allocations: 11.89 kB / 0.7906 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.3013, allocations: 8.375 kB / 0.7906 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3013, allocations: 4.375 kB / 0.7906 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3013, allocations: 3.938 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3013, allocations: 0 / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.3015, allocations: 193.5 kB / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3015, allocations: 3.938 kB / 0.7908 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.3016, allocations: 15.94 kB / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3016, allocations: 0 / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3016, allocations: 0 / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3016, allocations: 0 / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3016, allocations: 0 / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.3018, allocations: 140.9 kB / 0.7909 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.3019, allocations: 85.02 kB / 0.791 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.3019, allocations: 0 / 0.791 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.053e-05/0.302, allocations: 11.98 kB / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.302, allocations: 4 kB / 0.791 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.302, allocations: 11.98 kB / 0.791 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.421e-05/0.3021, allocations: 98.36 kB / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3021, allocations: 0 / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000289/0.3024, allocations: 44 kB / 0.7911 GB, free: 5.133 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.0002203/0.3027, allocations: 103.2 kB / 0.7912 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005355/0.3032, allocations: 366 kB / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3032, allocations: 0 / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.3033, allocations: 43.92 kB / 0.7916 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.3036, allocations: 30.84 kB / 0.7917 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.3041, allocations: 202.8 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.3045, allocations: 0.6966 MB / 0.7925 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.3046, allocations: 4.438 kB / 0.7925 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.3046, allocations: 15.44 kB / 0.7926 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3046, allocations: 0 / 0.7926 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of Templates: time 0.006774/0.3114, allocations: 2.613 MB / 0.7951 GB, free: 1 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)