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.001866/0.001866, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002476/0.002476, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.331/3.331, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002004/0.002004, allocations: 64.22 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3459, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00206/0.348, allocations: 0.838 MB / 1.355 GB, free: 7.098 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.35, allocations: 1.517 MB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.3501, allocations: 0 / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.3502, allocations: 19.8 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.3503, allocations: 39.66 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3515, allocations: 0.5128 MB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005855/0.3521, allocations: 479.2 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3523, allocations: 25.67 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.3525, allocations: 191.6 kB / 1.358 GB, free: 4.324 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.3528, allocations: 179.5 kB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.005e-05/0.3528, allocations: 40 kB / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3529, allocations: 59.98 kB / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.353, allocations: 35.92 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.3532, allocations: 167.5 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.3537, allocations: 410.7 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3537, allocations: 4 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3537, allocations: 3.938 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3537, allocations: 0 / 1.358 GB, free: 3.441 MB / 1.045 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.0008343/0.3545, allocations: 0.578 MB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3546, allocations: 8.031 kB / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.601e-05/0.3547, allocations: 32.83 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.355, allocations: 202.2 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.355, allocations: 24.36 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.3551, allocations: 32.38 kB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.3554, allocations: 160.3 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3554, allocations: 4.172 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.3554, allocations: 11.88 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.3554, allocations: 4 kB / 1.36 GB, free: 2.297 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.3556, allocations: 87.8 kB / 1.36 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/0.3565, allocations: 0.6673 MB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.3567, allocations: 90.48 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.3568, allocations: 36.84 kB / 1.36 GB, free: 1.359 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.3568, allocations: 4 kB / 1.36 GB, free: 1.355 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.357, allocations: 159.3 kB / 1.361 GB, free: 1.188 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.357, allocations: 4 kB / 1.361 GB, free: 1.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.000467/0.3575, allocations: 243.1 kB / 1.361 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.3576, allocations: 55.41 kB / 1.361 GB, free: 0.875 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.3577, allocations: 182.9 kB / 1.361 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.3578, allocations: 37.7 kB / 1.361 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.3579, allocations: 128.7 kB / 1.361 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.358, allocations: 35.75 kB / 1.361 GB, free: 488 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.3581, allocations: 117.6 kB / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3583, allocations: 330.8 kB / 1.362 GB, free: 24 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.3586, allocations: 155.9 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.359, allocations: 234.1 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.3595, allocations: 414.6 kB / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3595, allocations: 0 / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001038/0.3606, allocations: 0.6347 MB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.3607, allocations: 172.4 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3607, allocations: 7.922 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3607, allocations: 4 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.053e-05/0.3607, allocations: 8 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.3607, allocations: 7.938 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/0.3615, allocations: 135.8 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.3615, allocations: 32.06 kB / 1.363 GB, free: 14.07 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.0001961/0.3617, allocations: 163 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3618, allocations: 23.86 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.3618, allocations: 25.73 kB / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3618, allocations: 0 / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3618, allocations: 8 kB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3618, allocations: 0 / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.3624, allocations: 485.4 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3624, allocations: 0 / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.3624, allocations: 15.92 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.3624, allocations: 4 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3625, allocations: 0 / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3625, allocations: 4 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.3625, allocations: 4 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.3628, allocations: 285 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.3628, allocations: 11.91 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.3628, allocations: 4 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.3629, allocations: 7.984 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.363, allocations: 19.91 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.363, allocations: 12 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000102/0.3631, allocations: 131.5 kB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3631, allocations: 0 / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003671/0.3634, allocations: 83.88 kB / 1.365 GB, free: 12.73 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.0001454/0.3636, allocations: 103.2 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007676/0.3644, allocations: 0.5494 MB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3644, allocations: 4.062 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3645, allocations: 67.86 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3649, allocations: 57.39 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.3655, allocations: 364 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.3659, allocations: 0.7242 MB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.3659, allocations: 19.44 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3659, allocations: 0 / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of Templates: time 0.005992/0.3719, allocations: 3.343 MB / 1.37 GB, free: 7.422 MB / 1.061 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: 12.243108274007682]