Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 216.9 kB / 22.99 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.236/3.236, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 75.83 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3412, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002211/0.3434, allocations: 0.8032 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002215/0.3456, allocations: 1.491 MB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.135e-05/0.3457, allocations: 0 / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.3458, allocations: 27.73 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.464e-05/0.3459, allocations: 39.7 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.3473, allocations: 0.5108 MB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.3481, allocations: 479.2 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3482, allocations: 25.67 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.3485, allocations: 187.7 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.3488, allocations: 155.5 kB / 1.368 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3489, allocations: 40 kB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.349, allocations: 59.98 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.3491, allocations: 39.84 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.3493, allocations: 151.6 kB / 1.369 GB, free: 9.633 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005354/0.3498, allocations: 418.7 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3498, allocations: 0 / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3498, allocations: 4 kB / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.3499, allocations: 0 / 1.369 GB, free: 9.219 MB / 1.061 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.0008939/0.3507, allocations: 0.576 MB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3508, allocations: 8.031 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.3509, allocations: 36.77 kB / 1.37 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.3513, allocations: 202.7 kB / 1.37 GB, free: 8.312 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.3513, allocations: 20.36 kB / 1.37 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/0.3514, allocations: 28.38 kB / 1.37 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.3517, allocations: 153.3 kB / 1.37 GB, free: 8.105 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3517, allocations: 192 / 1.37 GB, free: 8.105 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.3517, allocations: 11.94 kB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3517, allocations: 8 kB / 1.37 GB, free: 8.086 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.3519, allocations: 83.88 kB / 1.37 GB, free: 8.004 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009103/0.3528, allocations: 0.5665 MB / 1.371 GB, free: 7.402 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.353, allocations: 82.55 kB / 1.371 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.353, allocations: 40.84 kB / 1.371 GB, free: 7.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.3531, allocations: 4.125 kB / 1.371 GB, free: 7.266 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.3534, allocations: 157 kB / 1.371 GB, free: 7.102 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.3534, allocations: 0 / 1.371 GB, free: 7.102 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0005251/0.3539, allocations: 249.3 kB / 1.371 GB, free: 6.852 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.3539, allocations: 59.41 kB / 1.371 GB, free: 6.781 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.3541, allocations: 186.1 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.01e-05/0.3542, allocations: 41.69 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.3543, allocations: 124.7 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.3544, allocations: 43.7 kB / 1.372 GB, free: 6.375 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.3546, allocations: 117.7 kB / 1.372 GB, free: 6.254 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3548, allocations: 330.8 kB / 1.372 GB, free: 5.922 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.3552, allocations: 304.4 kB / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.3557, allocations: 398.6 kB / 1.373 GB, free: 5.137 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.3562, allocations: 413 kB / 1.373 GB, free: 4.668 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3562, allocations: 0 / 1.373 GB, free: 4.668 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001169/0.3574, allocations: 0.7763 MB / 1.374 GB, free: 3.824 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.3575, allocations: 156.5 kB / 1.374 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3575, allocations: 7.938 kB / 1.374 GB, free: 3.633 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.3576, allocations: 8.281 kB / 1.374 GB, free: 3.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.983e-05/0.3576, allocations: 19.92 kB / 1.374 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3576, allocations: 4 kB / 1.374 GB, free: 3.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007614/0.3584, allocations: 135.7 kB / 1.374 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.3585, allocations: 35.97 kB / 1.374 GB, free: 3.434 MB / 1.061 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,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.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.0002081/0.3587, allocations: 163 kB / 1.374 GB, free: 3.266 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.3587, allocations: 15.91 kB / 1.374 GB, free: 3.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.018e-05/0.3587, allocations: 21.8 kB / 1.374 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3588, allocations: 3.938 kB / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3588, allocations: 4 kB / 1.374 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3588, allocations: 3.984 kB / 1.374 GB, free: 3.211 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.3594, allocations: 436.1 kB / 1.375 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3594, allocations: 0 / 1.375 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.3594, allocations: 7.984 kB / 1.375 GB, free: 2.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3594, allocations: 3.938 kB / 1.375 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3594, allocations: 8 kB / 1.375 GB, free: 2.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3594, allocations: 0 / 1.375 GB, free: 2.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3594, allocations: 4 kB / 1.375 GB, free: 2.727 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.3597, allocations: 286.3 kB / 1.375 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.3598, allocations: 19.8 kB / 1.375 GB, free: 2.414 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.3598, allocations: 4 kB / 1.375 GB, free: 2.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.3599, allocations: 7.984 kB / 1.375 GB, free: 2.402 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.3599, allocations: 23.97 kB / 1.375 GB, free: 2.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3599, allocations: 12 kB / 1.375 GB, free: 2.367 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001025/0.3601, allocations: 116.2 kB / 1.375 GB, free: 2.254 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3601, allocations: 0 / 1.375 GB, free: 2.254 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003883/0.3604, allocations: 87.92 kB / 1.375 GB, free: 2.168 MB / 1.061 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0001699/0.3606, allocations: 111.8 kB / 1.375 GB, free: 2.051 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009152/0.3615, allocations: 0.7009 MB / 1.376 GB, free: 1.258 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3615, allocations: 0 / 1.376 GB, free: 1.258 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.3617, allocations: 71.91 kB / 1.376 GB, free: 1.188 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.3621, allocations: 45.56 kB / 1.376 GB, free: 1.145 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.3627, allocations: 361.8 kB / 1.377 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.3629, allocations: 112.3 kB / 1.377 GB, free: 0.625 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.3629, allocations: 31.36 kB / 1.377 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3629, allocations: 0 / 1.377 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of Templates: time 0.006375/0.3693, allocations: 3.375 MB / 1.38 GB, free: 13.25 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,mulAnd0.y,mulAnd1.u[1],mulAnd1.y,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[1],mulAnd5.u[2],mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y Variables in the result:mulAnd0.y,mulAnd1.u[1],mulAnd1.y,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[1],mulAnd5.u[2],mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,time [Calling sys.exit(0), Time elapsed: 11.930026393849403]