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.001593/0.001593, allocations: 102.4 kB / 16.35 MB, free: 6.348 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.001913/0.001913, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.851/1.851, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001522/0.001522, allocations: 71.89 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2497, allocations: 114.5 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002143/0.2519, allocations: 0.721 MB / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.2539, allocations: 1.254 MB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.254, allocations: 0 / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.342e-05/0.2541, allocations: 11.88 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2542, allocations: 15.86 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009408/0.2551, allocations: 308.9 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.2555, allocations: 279.6 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.2556, allocations: 12.19 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.2557, allocations: 99.8 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.256, allocations: 99.72 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.256, allocations: 24 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.2561, allocations: 35.98 kB / 0.7876 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/0.2562, allocations: 8 kB / 0.7876 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.2563, allocations: 87.73 kB / 0.7877 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.2566, allocations: 223.4 kB / 0.7879 GB, free: 8 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.2567, allocations: 4 kB / 0.7879 GB, free: 4 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.885e-06/0.2567, allocations: 0 / 0.7879 GB, free: 4 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.2567, allocations: 0 / 0.7879 GB, free: 4 kB / 0.6544 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.4423/0.699, allocations: 486.6 kB / 0.7883 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.699, allocations: 11.38 kB / 0.7883 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.6991, allocations: 15.72 kB / 0.7884 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.6992, allocations: 179 kB / 0.7885 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.6992, allocations: 12.78 kB / 0.7885 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.6993, allocations: 13.28 kB / 0.7886 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.6994, allocations: 60.44 kB / 0.7886 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.6994, allocations: 0 / 0.7886 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.6995, allocations: 6.781 kB / 0.7886 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.6995, allocations: 0.6562 kB / 0.7886 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.989e-05/0.6995, allocations: 23.41 kB / 0.7886 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.7, allocations: 412.8 kB / 0.789 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.557e-05/0.7001, allocations: 36.73 kB / 0.7891 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.7001, allocations: 14.52 kB / 0.7891 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.7002, allocations: 3.156 kB / 0.7891 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.7004, allocations: 103.2 kB / 0.7892 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.7004, allocations: 0 / 0.7892 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002924/0.7007, allocations: 137.3 kB / 0.7893 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7007, allocations: 60.47 kB / 0.7894 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.7008, allocations: 141.9 kB / 0.7895 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.7009, allocations: 34.77 kB / 0.7895 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.7009, allocations: 98.78 kB / 0.7896 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.701, allocations: 17.86 kB / 0.7897 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.7011, allocations: 67.69 kB / 0.7897 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.7011, allocations: 325.6 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.7013, allocations: 89.36 kB / 0.7901 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.7015, allocations: 138.9 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.7018, allocations: 233.4 kB / 0.7905 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7018, allocations: 0 / 0.7905 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005412/0.7023, allocations: 378.7 kB / 0.7908 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/0.7024, allocations: 97.48 kB / 0.7909 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7024, allocations: 2.75 kB / 0.7909 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.7024, allocations: 4.312 kB / 0.7909 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.032e-05/0.7025, allocations: 9.156 kB / 0.7909 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.7025, allocations: 1.656 kB / 0.7909 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.7029, allocations: 82.31 kB / 0.791 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.703, allocations: 22.41 kB / 0.791 GB, free: 47.09 MB / 0.6544 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.0001024/0.7031, allocations: 135.7 kB / 0.7912 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.7031, allocations: 10.22 kB / 0.7912 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.7031, allocations: 10.38 kB / 0.7912 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.7031, allocations: 0.5312 kB / 0.7912 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7032, allocations: 2.625 kB / 0.7912 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7032, allocations: 0.7188 kB / 0.7912 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.7033, allocations: 189.2 kB / 0.7914 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7033, allocations: 3.25 kB / 0.7914 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-05/0.7033, allocations: 4.688 kB / 0.7914 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7033, allocations: 0 / 0.7914 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.7034, allocations: 7.062 kB / 0.7914 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7034, allocations: 5.125 kB / 0.7914 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.7034, allocations: 3.938 kB / 0.7914 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.7036, allocations: 141.9 kB / 0.7915 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.7036, allocations: 83.67 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.7036, allocations: 3.281 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.437e-05/0.7037, allocations: 4.641 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.7037, allocations: 13.53 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.7037, allocations: 8.641 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.7038, allocations: 93.69 kB / 0.7917 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7038, allocations: 2.625 kB / 0.7917 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002536/0.7041, allocations: 45.09 kB / 0.7918 GB, free: 46.54 MB / 0.6544 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.0001624/0.7042, allocations: 106 kB / 0.7919 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004756/0.7047, allocations: 367.1 kB / 0.7922 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7047, allocations: 2.25 kB / 0.7922 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.7048, allocations: 38.91 kB / 0.7923 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.7051, allocations: 31.59 kB / 0.7923 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.7055, allocations: 192 kB / 0.7925 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.7057, allocations: 0.6933 MB / 0.7932 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.7057, allocations: 8.312 kB / 0.7932 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.7058, allocations: 15.41 kB / 0.7932 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.7058, allocations: 0 / 0.7932 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.005556/0.7113, allocations: 2.625 MB / 0.7957 GB, free: 45.31 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)