Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.473/2.473, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 183.5 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009667/0.0009666, allocations: 118 kB / 0.9329 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 52.89 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3175, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001822/0.3193, allocations: 0.761 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3207, allocations: 1.297 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.3208, allocations: 3.938 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.3208, allocations: 3.984 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.888e-05/0.3209, allocations: 15.86 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.3216, allocations: 284.2 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3217, allocations: 231.5 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3218, allocations: 16.16 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.3219, allocations: 87.81 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.3221, allocations: 75.77 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.3221, allocations: 16 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.3222, allocations: 23.98 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.3222, allocations: 19.92 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3223, allocations: 71.8 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3226, allocations: 209.6 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3226, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3226, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3226, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 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.0005101/0.3231, allocations: 496.3 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3231, allocations: 19.98 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.59e-05/0.3232, allocations: 12.84 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.3233, allocations: 176.2 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3233, allocations: 8.375 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.3234, allocations: 16.38 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.3235, allocations: 62.17 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3235, allocations: 3.938 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3235, allocations: 0 / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3236, allocations: 0 / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.544e-05/0.3236, allocations: 19.98 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.324, allocations: 416.5 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.631e-05/0.3241, allocations: 38.52 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.3241, allocations: 20.94 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.3242, allocations: 3.938 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.3243, allocations: 103.4 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.3243, allocations: 4 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.000251/0.3246, allocations: 137.4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.3246, allocations: 59.34 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.3247, allocations: 139.5 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3247, allocations: 29.7 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.3248, allocations: 100.1 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.3248, allocations: 23.72 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.3249, allocations: 65.67 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.325, allocations: 326.8 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3251, allocations: 83.95 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.3253, allocations: 146.3 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.3255, allocations: 231 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3255, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004472/0.326, allocations: 374.5 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.326, allocations: 97.09 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.326, allocations: 4 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.326, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.512e-05/0.3261, allocations: 7.984 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3261, allocations: 7.938 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.3266, allocations: 87.94 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3266, allocations: 15.98 kB / 1.224 GB, free: 110.4 MB / 0.823 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 8.276e-05/0.3267, allocations: 136.5 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.3267, allocations: 7.906 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.3267, allocations: 8.375 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3267, allocations: 7.984 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3268, allocations: 4 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3268, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.3269, allocations: 189.6 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3269, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.3269, allocations: 7.938 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3269, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3269, allocations: 8.359 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3269, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3269, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.3272, allocations: 0.7175 MB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.3273, allocations: 85.02 kB / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3273, allocations: 0 / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.3273, allocations: 11.92 kB / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.3273, allocations: 11.94 kB / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.3274, allocations: 3.984 kB / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.389e-05/0.3274, allocations: 101.8 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3274, allocations: 4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003261/0.3277, allocations: 44 kB / 1.226 GB, free: 109 MB / 0.823 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.0001409/0.3279, allocations: 112.3 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000338/0.3282, allocations: 358.1 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3282, allocations: 3.938 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.82e-05/0.3283, allocations: 35.98 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.3285, allocations: 29.89 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.3289, allocations: 339.4 kB / 1.226 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.329, allocations: 0.6965 MB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.3291, allocations: 12.42 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.3291, allocations: 11.44 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.3291, allocations: 3.938 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of Templates: time 0.004532/0.3336, allocations: 2.6 MB / 1.23 GB, free: 104.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)