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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001298/0.001298, allocations: 115.2 kB / 16.37 MB, free: 6.012 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.001214/0.001214, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.95 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2905, allocations: 140.4 MB / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002363/0.2929, allocations: 0.828 MB / 0.9519 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.2949, allocations: 1.485 MB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.295, allocations: 11.94 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.2951, allocations: 15.81 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.2952, allocations: 31.7 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.2964, allocations: 0.5211 MB / 0.954 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005411/0.297, allocations: 499.3 kB / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.2971, allocations: 45.47 kB / 0.9545 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.2973, allocations: 183.6 kB / 0.9547 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.2976, allocations: 179.5 kB / 0.9548 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.752e-05/0.2976, allocations: 43.94 kB / 0.9549 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.2978, allocations: 51.98 kB / 0.9549 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.2978, allocations: 43.92 kB / 0.955 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.298, allocations: 167.5 kB / 0.9551 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004359/0.2985, allocations: 410.8 kB / 0.9555 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2985, allocations: 0 / 0.9555 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2985, allocations: 0 / 0.9555 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2985, allocations: 0 / 0.9555 GB, free: 3.5 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.0008775/0.2994, allocations: 0.6516 MB / 0.9562 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2994, allocations: 8.031 kB / 0.9562 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.959e-05/0.2995, allocations: 32.66 kB / 0.9562 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.2999, allocations: 248.1 kB / 0.9564 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.2999, allocations: 24.36 kB / 0.9564 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.867e-05/0.3, allocations: 32.31 kB / 0.9565 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3003, allocations: 153.8 kB / 0.9566 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3003, allocations: 192 / 0.9566 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.3003, allocations: 11.92 kB / 0.9566 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.3003, allocations: 12 kB / 0.9566 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3005, allocations: 83.94 kB / 0.9567 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000914/0.3014, allocations: 0.7107 MB / 0.9574 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3016, allocations: 171.6 kB / 0.9576 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.317e-05/0.3017, allocations: 48.84 kB / 0.9576 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.3017, allocations: 0 / 0.9576 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.302, allocations: 161.2 kB / 0.9578 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.302, allocations: 0 / 0.9578 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004768/0.3025, allocations: 247.4 kB / 0.958 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.3026, allocations: 51.41 kB / 0.9581 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3028, allocations: 183.8 kB / 0.9582 GB, free: 460 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/0.3028, allocations: 41.7 kB / 0.9583 GB, free: 412 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3029, allocations: 128.4 kB / 0.9584 GB, free: 280 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.303, allocations: 47.44 kB / 0.9585 GB, free: 232 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.3032, allocations: 109.6 kB / 0.9586 GB, free: 116 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3033, allocations: 330.8 kB / 0.9589 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.3036, allocations: 155.9 kB / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.304, allocations: 238.2 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.3044, allocations: 409 kB / 0.9596 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3045, allocations: 4 kB / 0.9596 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009173/0.3054, allocations: 0.6123 MB / 0.9602 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.3055, allocations: 164.6 kB / 0.9604 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3055, allocations: 11.86 kB / 0.9604 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3056, allocations: 4.344 kB / 0.9604 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.235e-05/0.3056, allocations: 15.94 kB / 0.9604 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3056, allocations: 4 kB / 0.9604 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/0.3063, allocations: 139.6 kB / 0.9606 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.3064, allocations: 31.97 kB / 0.9606 GB, free: 13.85 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.0001716/0.3066, allocations: 162.8 kB / 0.9608 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.3066, allocations: 15.81 kB / 0.9608 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.3067, allocations: 25.8 kB / 0.9608 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3067, allocations: 0 / 0.9608 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3067, allocations: 0 / 0.9608 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3067, allocations: 4 kB / 0.9608 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.3072, allocations: 0.5061 MB / 0.9613 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3072, allocations: 3.938 kB / 0.9613 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.3073, allocations: 11.98 kB / 0.9613 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3073, allocations: 0 / 0.9613 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3073, allocations: 4 kB / 0.9613 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3073, allocations: 4.062 kB / 0.9613 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3073, allocations: 0 / 0.9613 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.3076, allocations: 293.2 kB / 0.9616 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.3076, allocations: 96.86 kB / 0.9617 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3077, allocations: 0 / 0.9617 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.3077, allocations: 7.984 kB / 0.9617 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.3078, allocations: 19.98 kB / 0.9617 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3078, allocations: 11.98 kB / 0.9617 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.964e-05/0.3079, allocations: 119.2 kB / 0.9618 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3079, allocations: 0 / 0.9618 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003437/0.3083, allocations: 75.91 kB / 0.9619 GB, free: 12.41 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.0001792/0.3085, allocations: 115.2 kB / 0.962 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007655/0.3092, allocations: 0.61 MB / 0.9626 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3092, allocations: 0 / 0.9626 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3094, allocations: 79.91 kB / 0.9627 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3098, allocations: 52.52 kB / 0.9627 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.3104, allocations: 326.5 kB / 0.9631 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.3107, allocations: 0.732 MB / 0.9638 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.415e-05/0.3108, allocations: 21.55 kB / 0.9638 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.3108, allocations: 19.42 kB / 0.9638 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.3108, allocations: 0 / 0.9638 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of Templates: time 0.008467/0.3193, allocations: 4.571 MB / 0.9683 GB, free: 5.82 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 -s cvode -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) Reference file matches