Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001647/0.001647, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.002178/0.002178, allocations: 209.6 kB / 23 MB, free: 4.965 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002078/0.002078, allocations: 74.11 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3896, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002194/0.3918, allocations: 0.812 MB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.3942, allocations: 1.502 MB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.3943, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.3944, allocations: 19.8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.963e-05/0.3945, allocations: 39.7 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.3959, allocations: 0.5098 MB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00062/0.3965, allocations: 483.1 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.3966, allocations: 25.67 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.3969, allocations: 183.8 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.3972, allocations: 179.4 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.968e-05/0.3973, allocations: 44 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3974, allocations: 52 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.3975, allocations: 47.83 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.3977, allocations: 147.6 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.3983, allocations: 418.7 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3983, allocations: 3.984 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3983, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3983, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 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.0008953/0.3992, allocations: 0.5683 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3992, allocations: 8.031 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.3993, allocations: 32.83 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.3997, allocations: 210.2 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.3997, allocations: 24.36 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/0.3998, allocations: 28.38 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.4001, allocations: 151.8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4001, allocations: 4.125 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.4001, allocations: 7.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4001, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.4003, allocations: 83.88 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.4012, allocations: 0.5664 MB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.4014, allocations: 94.48 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.659e-05/0.4015, allocations: 36.84 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.4015, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/0.4018, allocations: 156.6 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.4018, allocations: 4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005381/0.4024, allocations: 246.4 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.4024, allocations: 59.41 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.4026, allocations: 182.7 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.4027, allocations: 45.8 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.4028, allocations: 128.6 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.4028, allocations: 43.73 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.4031, allocations: 117.6 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4033, allocations: 326.8 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.4037, allocations: 312.4 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.4042, allocations: 396.8 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.4047, allocations: 404.5 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4047, allocations: 4 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001293/0.406, allocations: 0.7816 MB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.4062, allocations: 164.5 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4062, allocations: 0 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.4062, allocations: 4 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.818e-05/0.4062, allocations: 15.88 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.4063, allocations: 7.984 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/0.4071, allocations: 136 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.4071, allocations: 27.98 kB / 1.337 GB, free: 6.797 MB / 1.029 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.0002548/0.4074, allocations: 163.5 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.4074, allocations: 23.89 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.4075, allocations: 13.81 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4075, allocations: 11.88 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4075, allocations: 0 / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.4075, allocations: 23.83 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.4075, allocations: 0 / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.4076, allocations: 8 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.4077, allocations: 23.91 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003347/0.408, allocations: 254.6 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003918/0.4084, allocations: 360.3 kB / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001199/0.4085, allocations: 67.84 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.76e-05/0.4086, allocations: 123.2 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of Backend: time 7.41e-07/0.4086, allocations: 0 / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.4099, allocations: 0.7277 MB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of SimCode: time 0.001039/0.4109, allocations: 0.7549 MB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of Templates: time 0.01131/0.4222, allocations: 5.443 MB / 1.344 GB, free: 14.76 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.44942262100085]