Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 104.9 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.163/2.163, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 66.14 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3008, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002493/0.3034, allocations: 0.8383 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.3055, allocations: 1.473 MB / 0.9525 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3057, allocations: 4 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.3058, allocations: 15.8 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.306, allocations: 35.64 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.3074, allocations: 0.5131 MB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006396/0.308, allocations: 0.4953 MB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3082, allocations: 37.42 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.3085, allocations: 187.7 kB / 0.9538 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3087, allocations: 143.6 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.3088, allocations: 44 kB / 0.954 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.309, allocations: 55.92 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.3091, allocations: 47.84 kB / 0.9541 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.3093, allocations: 163.5 kB / 0.9542 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.3098, allocations: 403.2 kB / 0.9546 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3098, allocations: 0 / 0.9546 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3099, allocations: 0 / 0.9546 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.3099, allocations: 0 / 0.9546 GB, free: 4.398 MB / 0.7325 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.001003/0.3109, allocations: 0.6516 MB / 0.9552 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.3109, allocations: 8.031 kB / 0.9553 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.3111, allocations: 32.66 kB / 0.9553 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.3115, allocations: 260 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.3115, allocations: 20.36 kB / 0.9556 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.3116, allocations: 32.38 kB / 0.9556 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.3119, allocations: 153.8 kB / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3119, allocations: 192 / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.3119, allocations: 7.875 kB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.312, allocations: 8 kB / 0.9557 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.3121, allocations: 87.88 kB / 0.9558 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009873/0.3131, allocations: 0.7069 MB / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3133, allocations: 171.6 kB / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.483e-05/0.3134, allocations: 40.84 kB / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3135, allocations: 4 kB / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/0.3138, allocations: 167.2 kB / 0.9569 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.3138, allocations: 0 / 0.9569 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0005154/0.3143, allocations: 243 kB / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.3144, allocations: 59.34 kB / 0.9572 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.3146, allocations: 179.8 kB / 0.9573 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.3146, allocations: 37.7 kB / 0.9574 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3147, allocations: 128.5 kB / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.3148, allocations: 39.45 kB / 0.9575 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.315, allocations: 121.6 kB / 0.9577 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3152, allocations: 322.8 kB / 0.958 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.3155, allocations: 159.9 kB / 0.9581 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.3159, allocations: 238.2 kB / 0.9583 GB, free: 264 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.3164, allocations: 405.1 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3164, allocations: 3.938 kB / 0.9587 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001033/0.3175, allocations: 0.6202 MB / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.3176, allocations: 168.5 kB / 0.9595 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3176, allocations: 7.938 kB / 0.9595 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3176, allocations: 4 kB / 0.9595 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.874e-05/0.3177, allocations: 7.938 kB / 0.9595 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3177, allocations: 4 kB / 0.9595 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008757/0.3186, allocations: 143.8 kB / 0.9597 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.587e-05/0.3187, allocations: 40.03 kB / 0.9597 GB, free: 14.74 MB / 0.7481 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.0001984/0.3189, allocations: 163 kB / 0.9599 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.3189, allocations: 15.81 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.319, allocations: 29.78 kB / 0.9599 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.319, allocations: 4 kB / 0.9599 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.319, allocations: 3.938 kB / 0.9599 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.319, allocations: 0 / 0.9599 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006131/0.3196, allocations: 0.5044 MB / 0.9604 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3196, allocations: 0 / 0.9604 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.3197, allocations: 7.984 kB / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3197, allocations: 4 kB / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3197, allocations: 0 / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3197, allocations: 4 kB / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3197, allocations: 0 / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.3201, allocations: 287.1 kB / 0.9607 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.3202, allocations: 92.86 kB / 0.9608 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.3202, allocations: 8 kB / 0.9608 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3203, allocations: 3.984 kB / 0.9608 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.3204, allocations: 23.98 kB / 0.9608 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.3205, allocations: 11.98 kB / 0.9608 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001176/0.3206, allocations: 115.2 kB / 0.9609 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.02e-07/0.3206, allocations: 0 / 0.9609 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004607/0.3211, allocations: 79.91 kB / 0.961 GB, free: 13.3 MB / 0.7481 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.0002265/0.3213, allocations: 113.3 kB / 0.9611 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008116/0.3221, allocations: 0.6352 MB / 0.9617 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3221, allocations: 0 / 0.9617 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3223, allocations: 79.91 kB / 0.9618 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3227, allocations: 48.52 kB / 0.9619 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.3234, allocations: 365.9 kB / 0.9622 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3237, allocations: 0.7242 MB / 0.9629 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.3238, allocations: 27.42 kB / 0.9629 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/0.3238, allocations: 0 / 0.9629 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of Templates: time 0.006447/0.3302, allocations: 3.341 MB / 0.9662 GB, free: 7.879 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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