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.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 194.3 kB / 16.14 MB, free: 6.703 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.526/1.526, allocations: 205.1 MB / 222 MB, free: 4.742 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.764/1.764, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.002373/0.002373, allocations: 69.31 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3534, allocations: 114.5 MB / 0.7827 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002076/0.3555, allocations: 0.7845 MB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3571, allocations: 1.302 MB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.3572, allocations: 0 / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.329e-05/0.3573, allocations: 0 / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.997e-05/0.3574, allocations: 15.84 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008105/0.3582, allocations: 293.6 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.3584, allocations: 223.6 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3586, allocations: 16.19 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.3587, allocations: 91.8 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3588, allocations: 79.75 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.464e-05/0.3589, allocations: 12 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.446e-05/0.359, allocations: 20 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.359, allocations: 15.92 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3591, allocations: 75.8 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.3595, allocations: 207.7 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3595, allocations: 0 / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3595, allocations: 0 / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3595, allocations: 0 / 0.7857 GB, free: 10.84 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.000702/0.3602, allocations: 0.4925 MB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3602, allocations: 8.031 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.3603, allocations: 16.84 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3605, allocations: 172.3 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3605, allocations: 8.312 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.3606, allocations: 24.36 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3607, allocations: 50.23 kB / 0.7865 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3607, allocations: 3.938 kB / 0.7865 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3607, allocations: 8 kB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3608, allocations: 0 / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.378e-05/0.3608, allocations: 19.98 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.3614, allocations: 420.4 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.3615, allocations: 34.5 kB / 0.7869 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.3615, allocations: 20.86 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.3616, allocations: 4 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.3618, allocations: 107.4 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3618, allocations: 0 / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003109/0.3621, allocations: 137.5 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3622, allocations: 51.41 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3623, allocations: 133.7 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.3623, allocations: 41.69 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.3624, allocations: 92.14 kB / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.3624, allocations: 23.66 kB / 0.7875 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3626, allocations: 65.67 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3627, allocations: 326.8 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.3629, allocations: 87.94 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.3631, allocations: 134 kB / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.3634, allocations: 239 kB / 0.7883 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3634, allocations: 4 kB / 0.7883 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005644/0.3639, allocations: 373.5 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/0.364, allocations: 101.1 kB / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.364, allocations: 4 kB / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.3641, allocations: 4 kB / 0.7888 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.659e-05/0.3641, allocations: 3.938 kB / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3641, allocations: 4 kB / 0.7888 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.3646, allocations: 92.36 kB / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.3647, allocations: 15.98 kB / 0.7889 GB, free: 7.238 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.0001227/0.3648, allocations: 133.7 kB / 0.789 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.3648, allocations: 7.906 kB / 0.789 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.3648, allocations: 20.36 kB / 0.7891 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3649, allocations: 0 / 0.7891 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3649, allocations: 0 / 0.7891 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3649, allocations: 0 / 0.7891 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.365, allocations: 193.5 kB / 0.7892 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.365, allocations: 0 / 0.7892 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.3651, allocations: 11.98 kB / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3651, allocations: 0 / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3651, allocations: 0 / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.3651, allocations: 4 kB / 0.7893 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3651, allocations: 0 / 0.7893 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.3653, allocations: 144.9 kB / 0.7894 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.3653, allocations: 88.95 kB / 0.7895 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3654, allocations: 0 / 0.7895 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.3654, allocations: 0 / 0.7895 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.3654, allocations: 15.97 kB / 0.7895 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.3654, allocations: 4 kB / 0.7895 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.697e-05/0.3655, allocations: 98.36 kB / 0.7896 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3655, allocations: 4 kB / 0.7896 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002566/0.3658, allocations: 47.98 kB / 0.7896 GB, free: 6.387 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.0001644/0.3659, allocations: 103.2 kB / 0.7897 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004559/0.3664, allocations: 369.9 kB / 0.7901 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3664, allocations: 0 / 0.7901 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.333e-05/0.3665, allocations: 39.91 kB / 0.7901 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.3668, allocations: 28.62 kB / 0.7902 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.3671, allocations: 200.7 kB / 0.7904 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3674, allocations: 0.6965 MB / 0.791 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.3674, allocations: 12.42 kB / 0.791 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.3675, allocations: 11.44 kB / 0.7911 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.3675, allocations: 0 / 0.7911 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of Templates: time 0.004971/0.3724, allocations: 2.503 MB / 0.7935 GB, free: 2.375 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)