Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.795/1.795, allocations: 288.4 MB / 303.4 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001133, allocations: 186.9 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 0.6307 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009088/0.0009088, allocations: 103.5 kB / 0.7441 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004181, allocations: 12.81 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2788, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008487/0.2797, allocations: 386.7 kB / 0.98 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.281, allocations: 1.169 MB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.2811, allocations: 3.938 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.2811, allocations: 0 / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.2812, allocations: 11.92 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.2818, allocations: 195.2 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.282, allocations: 131.7 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2821, allocations: 8 kB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.217e-05/0.2822, allocations: 63.88 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.195e-05/0.2823, allocations: 39.88 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.2823, allocations: 8 kB / 0.9816 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.2824, allocations: 27.97 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.2824, allocations: 4 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.2825, allocations: 41.64 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.2826, allocations: 107.9 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2827, allocations: 8 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2827, allocations: 4 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.2827, allocations: 0 / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004207/0.2831, allocations: 406.7 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2832, allocations: 12.02 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.2832, allocations: 11.91 kB / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.327e-05/0.2833, allocations: 167 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.2833, allocations: 8 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.2834, allocations: 8 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.2835, allocations: 49.69 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2835, allocations: 0 / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2835, allocations: 7.922 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2835, allocations: 4 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.2836, allocations: 8 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.284, allocations: 360.6 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.286e-05/0.2841, allocations: 34.56 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.2841, allocations: 20.8 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.2842, allocations: 7.922 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.2843, allocations: 75.47 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2843, allocations: 0 / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000229/0.2846, allocations: 105.6 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.2846, allocations: 55.39 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.2847, allocations: 122 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.2847, allocations: 29.7 kB / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.2848, allocations: 88.33 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.2848, allocations: 19.8 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.2848, allocations: 4 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.2849, allocations: 319.2 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.285, allocations: 63.95 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.2851, allocations: 96.2 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.2852, allocations: 107.4 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2852, allocations: 4 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003225/0.2856, allocations: 264.8 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.2856, allocations: 67.39 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2856, allocations: 4.062 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2856, allocations: 8 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.218e-05/0.2857, allocations: 3.984 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.2857, allocations: 4 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.2861, allocations: 76 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.2861, allocations: 11.98 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/0.2862, allocations: 129.7 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.2862, allocations: 7.906 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.2862, allocations: 4.375 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2863, allocations: 0 / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2863, allocations: 4 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2863, allocations: 11.92 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.378e-05/0.2864, allocations: 173.6 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.2864, allocations: 0 / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-06/0.2864, allocations: 4 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2864, allocations: 0 / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2864, allocations: 3.984 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2864, allocations: 3.938 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2864, allocations: 4 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.2866, allocations: 109 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.2866, allocations: 89 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.2866, allocations: 0 / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/0.2867, allocations: 0 / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.2867, allocations: 7.984 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.2867, allocations: 8 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.2868, allocations: 95.23 kB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2868, allocations: 0 / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002148/0.287, allocations: 28 kB / 0.9849 GB, free: 21.81 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001602/0.2872, allocations: 111.2 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.2874, allocations: 238.7 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2875, allocations: 0 / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.2875, allocations: 28.38 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.2877, allocations: 20.19 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.2881, allocations: 167.7 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.2882, allocations: 0.6848 MB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.2882, allocations: 4 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.2883, allocations: 11.44 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2883, allocations: 4 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of Templates: time 0.003976/0.2922, allocations: 1.689 MB / 0.9878 GB, free: 18.8 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)