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.001596/0.001596, 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.001754/0.001754, allocations: 222.4 kB / 23 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.475/1.475, 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 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.249/3.249, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 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.002136/0.002136, allocations: 69.78 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3668, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002251/0.3691, allocations: 0.8118 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.3713, allocations: 1.49 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3714, allocations: 8 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.3716, allocations: 19.8 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.766e-05/0.3717, allocations: 35.7 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.3731, allocations: 0.5181 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006703/0.3738, allocations: 475.2 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.374, allocations: 29.67 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.3743, allocations: 183.7 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.3746, allocations: 155.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.3747, allocations: 40 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3749, allocations: 51.98 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.3749, allocations: 43.89 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.3751, allocations: 155.6 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.3757, allocations: 414.7 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3757, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3757, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.3757, allocations: 0 / 1.331 GB, free: 13.45 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.0009354/0.3766, allocations: 0.58 MB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3767, allocations: 8.031 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.3768, allocations: 28.84 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.3772, allocations: 206.1 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.3772, allocations: 16.38 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.3773, allocations: 32.38 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.3776, allocations: 155.8 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3776, allocations: 192 / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.3776, allocations: 15.86 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3776, allocations: 4 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.3778, allocations: 83.89 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008689/0.3786, allocations: 0.5664 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.3788, allocations: 82.53 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.982e-05/0.3789, allocations: 48.95 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.3789, allocations: 4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.3792, allocations: 152.6 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.3792, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004977/0.3797, allocations: 255.2 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3798, allocations: 55.41 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.38, allocations: 186.7 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/0.38, allocations: 37.7 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3802, allocations: 132.6 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.3802, allocations: 39.73 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.3804, allocations: 117.6 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3805, allocations: 326.8 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.381, allocations: 308.4 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.3814, allocations: 398.6 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.3819, allocations: 411 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3819, allocations: 4 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001163/0.3831, allocations: 0.7757 MB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.3832, allocations: 160.5 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.3832, allocations: 4 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3833, allocations: 7.938 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.045e-05/0.3833, allocations: 15.92 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3833, allocations: 8 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/0.384, allocations: 131.7 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.3841, allocations: 35.97 kB / 1.336 GB, free: 7.656 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.0001985/0.3843, allocations: 159.5 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.3843, allocations: 11.91 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.3844, allocations: 17.81 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3844, allocations: 15.92 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3844, allocations: 0 / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3844, allocations: 0 / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.385, allocations: 442 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.385, allocations: 0 / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.385, allocations: 4 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.385, allocations: 4.031 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.385, allocations: 11.94 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.385, allocations: 7.922 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.385, allocations: 0 / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.3853, allocations: 277.1 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.3854, allocations: 23.84 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.3854, allocations: 3.984 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.3855, allocations: 8 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.3855, allocations: 15.97 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3855, allocations: 12 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001075/0.3857, allocations: 123.2 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3857, allocations: 0 / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003779/0.386, allocations: 79.89 kB / 1.337 GB, free: 6.395 MB / 1.029 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.0001835/0.3862, allocations: 119.1 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008932/0.3871, allocations: 0.6926 MB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3871, allocations: 0 / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.3872, allocations: 73.44 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.3877, allocations: 52.62 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/0.3884, allocations: 357.7 kB / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3885, allocations: 120.1 kB / 1.338 GB, free: 4.844 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.3885, allocations: 15.44 kB / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3885, allocations: 0 / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of Templates: time 0.006871/0.3954, allocations: 3.4 MB / 1.342 GB, free: 1.465 MB / 1.029 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] "" 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.828204256016761]