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.001468/0.001468, allocations: 103.9 kB / 16.35 MB, free: 6.285 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.001669/0.001669, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 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.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 73.75 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3386, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00247/0.3412, allocations: 0.8301 MB / 0.9519 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.3434, allocations: 1.485 MB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3435, allocations: 4 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.3437, allocations: 15.8 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.3438, allocations: 39.64 kB / 0.9535 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.3451, allocations: 0.5135 MB / 0.954 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006119/0.3457, allocations: 0.4915 MB / 0.9544 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.3459, allocations: 41.48 kB / 0.9545 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.3461, allocations: 183.7 kB / 0.9547 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.3464, allocations: 175.5 kB / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/0.3465, allocations: 40 kB / 0.9549 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3466, allocations: 59.97 kB / 0.9549 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.3467, allocations: 47.84 kB / 0.955 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.3469, allocations: 159.5 kB / 0.9551 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.3474, allocations: 410.8 kB / 0.9555 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3474, allocations: 0 / 0.9555 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3474, allocations: 0 / 0.9555 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3474, allocations: 4 kB / 0.9555 GB, free: 3.551 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.000793/0.3482, allocations: 0.6476 MB / 0.9561 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3483, allocations: 8.031 kB / 0.9561 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.49e-05/0.3484, allocations: 36.66 kB / 0.9562 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.3487, allocations: 252.1 kB / 0.9564 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.3488, allocations: 24.3 kB / 0.9564 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.71e-05/0.3489, allocations: 32.38 kB / 0.9565 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.3491, allocations: 151.8 kB / 0.9566 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.3492, allocations: 4.188 kB / 0.9566 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3492, allocations: 3.938 kB / 0.9566 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3492, allocations: 4 kB / 0.9566 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.3493, allocations: 83.94 kB / 0.9567 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008965/0.3502, allocations: 0.7107 MB / 0.9574 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.3505, allocations: 175.6 kB / 0.9576 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.719e-05/0.3506, allocations: 40.84 kB / 0.9576 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3506, allocations: 0 / 0.9576 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.3509, allocations: 165.2 kB / 0.9578 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.3509, allocations: 0 / 0.9578 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004547/0.3514, allocations: 251.4 kB / 0.958 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3514, allocations: 55.41 kB / 0.9581 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3516, allocations: 183.7 kB / 0.9582 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.3517, allocations: 41.8 kB / 0.9583 GB, free: 464 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3518, allocations: 124.4 kB / 0.9584 GB, free: 336 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.3518, allocations: 47.44 kB / 0.9584 GB, free: 288 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.352, allocations: 117.6 kB / 0.9586 GB, free: 164 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3522, allocations: 326.8 kB / 0.9589 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.3525, allocations: 163.8 kB / 0.959 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.3529, allocations: 230.2 kB / 0.9592 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.3535, allocations: 409 kB / 0.9596 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.3535, allocations: 4 kB / 0.9596 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001016/0.3545, allocations: 0.6147 MB / 0.9602 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.3546, allocations: 164.8 kB / 0.9604 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3546, allocations: 11.94 kB / 0.9604 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.3547, allocations: 4 kB / 0.9604 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.495e-05/0.3547, allocations: 7.938 kB / 0.9604 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3547, allocations: 4 kB / 0.9604 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/0.3554, allocations: 143.6 kB / 0.9606 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.3555, allocations: 35.97 kB / 0.9606 GB, free: 13.89 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.0001832/0.3557, allocations: 162.8 kB / 0.9607 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.3557, allocations: 15.81 kB / 0.9608 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.3557, allocations: 25.8 kB / 0.9608 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3558, allocations: 4 kB / 0.9608 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3558, allocations: 0 / 0.9608 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3558, allocations: 0 / 0.9608 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.3564, allocations: 0.5022 MB / 0.9613 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3564, allocations: 3.984 kB / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.3565, allocations: 4 kB / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3565, allocations: 4 kB / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3565, allocations: 0 / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3565, allocations: 0 / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3565, allocations: 0 / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.3568, allocations: 297.2 kB / 0.9616 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.3569, allocations: 92.86 kB / 0.9617 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.3569, allocations: 7.984 kB / 0.9617 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.357, allocations: 4 kB / 0.9617 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.3571, allocations: 19.98 kB / 0.9617 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3571, allocations: 7.984 kB / 0.9617 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001011/0.3572, allocations: 119.2 kB / 0.9618 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.863e-06/0.3572, allocations: 4 kB / 0.9618 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003576/0.3576, allocations: 79.84 kB / 0.9619 GB, free: 12.46 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.000207/0.3578, allocations: 115.2 kB / 0.962 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000772/0.3586, allocations: 0.6101 MB / 0.9626 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3586, allocations: 4.688 kB / 0.9626 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3587, allocations: 75.91 kB / 0.9627 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.3591, allocations: 58.19 kB / 0.9627 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007485/0.3599, allocations: 334.2 kB / 0.9631 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.3605, allocations: 0.7281 MB / 0.9638 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.012e-05/0.3605, allocations: 21.55 kB / 0.9638 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.3606, allocations: 19.42 kB / 0.9638 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3606, allocations: 0 / 0.9638 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of Templates: time 0.009455/0.37, allocations: 4.563 MB / 0.9683 GB, free: 5.875 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 gbode -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