Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.29/2.29, allocations: 391.2 MB / 407 MB, free: 10.83 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.001152/0.001152, allocations: 193.6 kB / 499.1 MB, free: 4.645 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.578/1.578, allocations: 222.9 MB / 0.7948 GB, free: 15.83 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.00114/0.00114, allocations: 106.4 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 54.94 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3101, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001967/0.3121, allocations: 0.897 MB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3138, allocations: 1.535 MB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.3139, allocations: 4 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.314, allocations: 11.88 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.3141, allocations: 23.78 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3151, allocations: 493.9 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.3154, allocations: 427.2 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3156, allocations: 41.48 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3157, allocations: 171.7 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.3158, allocations: 135.6 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.3159, allocations: 24 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.316, allocations: 31.98 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.316, allocations: 43.84 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.3162, allocations: 143.5 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.3165, allocations: 385.1 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3165, allocations: 3.938 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3165, allocations: 4 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3165, allocations: 4 kB / 1.222 GB, free: 112.9 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006506/0.3172, allocations: 0.6361 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3172, allocations: 11.98 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.395e-05/0.3173, allocations: 28.75 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.3176, allocations: 264.9 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.3176, allocations: 20.36 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.3177, allocations: 32.38 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.3179, allocations: 157.6 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3179, allocations: 4.188 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.318, allocations: 7.938 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.318, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.3181, allocations: 83.88 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.3188, allocations: 0.7031 MB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.319, allocations: 171.6 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.3191, allocations: 41.12 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.3191, allocations: 15.81 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.3193, allocations: 160.3 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.3193, allocations: 0 / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0003755/0.3197, allocations: 246.5 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.3197, allocations: 55.41 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3198, allocations: 190.1 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.3199, allocations: 37.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.32, allocations: 128.5 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.32, allocations: 43.5 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.3202, allocations: 113.6 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.3202, allocations: 330.8 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.3205, allocations: 151.9 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.3208, allocations: 238.2 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.3211, allocations: 405.2 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3211, allocations: 0 / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007504/0.3219, allocations: 0.6236 MB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.322, allocations: 164.5 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.322, allocations: 12 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.322, allocations: 4 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.732e-05/0.322, allocations: 7.938 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.322, allocations: 4 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/0.3228, allocations: 144 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.3228, allocations: 35.97 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001305/0.323, allocations: 158.2 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.323, allocations: 15.81 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.3231, allocations: 25.8 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3231, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3231, allocations: 0 / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3231, allocations: 0 / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.3236, allocations: 0.5109 MB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3236, allocations: 4 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.3236, allocations: 7.984 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3236, allocations: 3.938 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3236, allocations: 11.94 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3236, allocations: 3.938 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3236, allocations: 0 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.3241, allocations: 0.8971 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.3241, allocations: 88.92 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.3241, allocations: 8 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.3242, allocations: 3.984 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.3243, allocations: 15.98 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.3243, allocations: 19.92 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.432e-05/0.3243, allocations: 120.2 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3243, allocations: 0 / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004081/0.3247, allocations: 83.84 kB / 1.229 GB, free: 105.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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001683/0.3249, allocations: 123.4 kB / 1.229 GB, free: 105 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005569/0.3255, allocations: 0.6163 MB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3255, allocations: 0 / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.3256, allocations: 85.44 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.326, allocations: 40.66 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.3266, allocations: 0.5164 MB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.3268, allocations: 0.7361 MB / 1.231 GB, free: 102.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.173e-05/0.3268, allocations: 21.55 kB / 1.231 GB, free: 102.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.3269, allocations: 19.44 kB / 1.231 GB, free: 102.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.3269, allocations: 0 / 1.231 GB, free: 102.8 MB / 0.823 GB Notification: Performance of Templates: time 0.006456/0.3333, allocations: 4.51 MB / 1.236 GB, free: 98.37 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)