Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002089/0.002089, 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.002611/0.002611, 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.772/2.772, allocations: 476 MB / 0.7707 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002129/0.002129, allocations: 72.97 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2974, allocations: 169.9 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002305/0.2997, allocations: 0.7989 MB / 1.285 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.302, allocations: 1.496 MB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.3022, allocations: 7.938 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3023, allocations: 15.8 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.3025, allocations: 43.69 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.3042, allocations: 0.5136 MB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008798/0.3051, allocations: 475.2 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.3052, allocations: 29.67 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.3056, allocations: 183.7 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.3061, allocations: 163.4 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.3062, allocations: 40 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.3064, allocations: 52 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.3064, allocations: 39.91 kB / 1.288 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.3067, allocations: 151.6 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.3073, allocations: 414.7 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3073, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3073, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.3074, allocations: 4 kB / 1.288 GB, free: 7.539 MB / 0.9825 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.001035/0.3084, allocations: 0.576 MB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3084, allocations: 8.031 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.3085, allocations: 32.8 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.3089, allocations: 207.4 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.309, allocations: 16.38 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.3091, allocations: 36.36 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.3093, allocations: 145.2 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3093, allocations: 192 / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3094, allocations: 7.938 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3094, allocations: 7.984 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.3095, allocations: 91.75 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008798/0.3104, allocations: 0.5587 MB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3106, allocations: 86.53 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.3107, allocations: 40.84 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.3107, allocations: 0 / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003235/0.311, allocations: 164.7 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.311, allocations: 4 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0005249/0.3115, allocations: 251.4 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.3116, allocations: 59.34 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.3118, allocations: 186.7 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.3119, allocations: 45.7 kB / 1.291 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.312, allocations: 124.6 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.312, allocations: 43.73 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.3123, allocations: 113.6 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3124, allocations: 330.8 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.3129, allocations: 308.4 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.3134, allocations: 394.6 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.3139, allocations: 411.6 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.3139, allocations: 8 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001209/0.3151, allocations: 0.7677 MB / 1.293 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.3153, allocations: 168.4 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3153, allocations: 4 kB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.3153, allocations: 7.938 kB / 1.293 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.889e-05/0.3154, allocations: 12.28 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.3154, allocations: 8 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/0.3161, allocations: 135.7 kB / 1.293 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.069e-05/0.3162, allocations: 40.03 kB / 1.293 GB, free: 1.746 MB / 0.9825 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.0002078/0.3164, allocations: 159 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.3164, allocations: 19.89 kB / 1.293 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.3165, allocations: 17.81 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.3165, allocations: 7.938 kB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3165, allocations: 0 / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3165, allocations: 0 / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.3171, allocations: 438 kB / 1.294 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3171, allocations: 4 kB / 1.294 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.3171, allocations: 4 kB / 1.294 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.3172, allocations: 7.938 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3172, allocations: 3.984 kB / 1.294 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3172, allocations: 0 / 1.294 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3172, allocations: 4 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.3175, allocations: 285.5 kB / 1.294 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.3175, allocations: 15.84 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.3176, allocations: 4 kB / 1.294 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.3176, allocations: 4 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.3177, allocations: 23.97 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3177, allocations: 11.98 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000108/0.3178, allocations: 119.2 kB / 1.294 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3178, allocations: 0 / 1.294 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003893/0.3182, allocations: 79.89 kB / 1.294 GB, free: 0.5 MB / 0.9825 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.0001856/0.3184, allocations: 115.7 kB / 1.295 GB, free: 388 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009435/0.3193, allocations: 0.6969 MB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3194, allocations: 4.25 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3195, allocations: 67.89 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.3199, allocations: 54.12 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.3206, allocations: 357.8 kB / 1.296 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.3208, allocations: 120.1 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.3208, allocations: 15.44 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3208, allocations: 0 / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of Templates: time 0.007506/0.3283, allocations: 3.401 MB / 1.299 GB, free: 11.57 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.900584432296455]