Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.357/2.357, allocations: 391.2 MB / 407 MB, free: 10.82 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.001527/0.001527, allocations: 191.4 kB / 499.1 MB, free: 4.633 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.653/1.653, allocations: 222.9 MB / 0.7948 GB, free: 15.86 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.001084/0.001084, allocations: 107.7 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 52.84 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3295, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.00218/0.3317, allocations: 0.7569 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.3333, allocations: 1.301 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.3334, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.432e-05/0.3335, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/0.3336, allocations: 15.86 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007704/0.3343, allocations: 294 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.3345, allocations: 223.6 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3346, allocations: 12.17 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.3347, allocations: 91.8 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.3348, allocations: 75.77 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.3349, allocations: 20 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.665e-05/0.335, allocations: 19.98 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.335, allocations: 19.92 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.63e-05/0.3351, allocations: 75.8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.3353, allocations: 205.6 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3354, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3354, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3354, allocations: 0 / 1.221 GB, free: 114.2 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.0005304/0.3359, allocations: 497.5 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.336, allocations: 15.98 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.336, allocations: 16.84 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/0.3361, allocations: 180.2 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3362, allocations: 8.375 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.3362, allocations: 12.38 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.3363, allocations: 62.17 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3363, allocations: 7.875 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3364, allocations: 7.984 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3364, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.611e-05/0.3364, allocations: 16 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.3369, allocations: 416.5 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/0.337, allocations: 38.45 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.337, allocations: 20.94 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.337, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.3372, allocations: 103.3 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3372, allocations: 7.938 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0002759/0.3375, allocations: 129.6 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3375, allocations: 59.34 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.3376, allocations: 140.3 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.3376, allocations: 33.7 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.3377, allocations: 100.2 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.3377, allocations: 19.72 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3379, allocations: 69.67 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.3379, allocations: 326.8 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.3381, allocations: 83.95 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3383, allocations: 134 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.3385, allocations: 235 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3385, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000474/0.339, allocations: 376.8 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/0.339, allocations: 105.1 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.3391, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3391, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.942e-05/0.3391, allocations: 11.92 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3391, allocations: 4 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.3396, allocations: 92.14 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.3397, allocations: 19.98 kB / 1.224 GB, free: 110.5 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,and1.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 9.176e-05/0.3398, allocations: 130.4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.3398, allocations: 7.906 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.3398, allocations: 8.375 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3398, allocations: 4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3398, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3398, allocations: 7.984 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.3399, allocations: 185.6 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3399, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.34, allocations: 7.938 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.34, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.34, allocations: 3.984 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.34, allocations: 3.938 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.34, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.3403, allocations: 0.7137 MB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.3404, allocations: 85.02 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.3404, allocations: 3.984 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.3404, allocations: 3.938 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.3405, allocations: 19.92 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3405, allocations: 0 / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.3405, allocations: 95.27 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3405, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003389/0.3409, allocations: 44 kB / 1.226 GB, free: 109.1 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,and1.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.0001852/0.3411, allocations: 118.7 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.3415, allocations: 366 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3415, allocations: 0 / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.3415, allocations: 36.03 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3418, allocations: 24.34 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.3423, allocations: 343.3 kB / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.3425, allocations: 0.6965 MB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 4.424e-05/0.3426, allocations: 16.36 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.3426, allocations: 11.44 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.3426, allocations: 0 / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of Templates: time 0.004728/0.3473, allocations: 2.608 MB / 1.23 GB, free: 104.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)