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.001008/0.001007, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.015/0.015, allocations: 170.9 kB / 16.26 MB, free: 6.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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.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.497/2.497, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005261/0.0005263, allocations: 8 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7917/0.7922, allocations: 142.4 MB / 0.9551 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001021/0.7933, allocations: 0.5456 MB / 0.9556 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.7953, allocations: 1.523 MB / 0.9571 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.7954, allocations: 2.125 kB / 0.9571 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.7955, allocations: 16.92 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.445e-05/0.7956, allocations: 23.19 kB / 0.9571 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.7967, allocations: 0.4931 MB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.7971, allocations: 417.7 kB / 0.958 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.7972, allocations: 39.52 kB / 0.958 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.7974, allocations: 160.3 kB / 0.9582 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.7976, allocations: 131 kB / 0.9583 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.7976, allocations: 21.56 kB / 0.9583 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-05/0.7977, allocations: 38.78 kB / 0.9584 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.7978, allocations: 35.23 kB / 0.9584 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.7979, allocations: 163.3 kB / 0.9586 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.7982, allocations: 383.7 kB / 0.9589 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.7983, allocations: 0 / 0.9589 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7983, allocations: 5.312 kB / 0.9589 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.7983, allocations: 0 / 0.9589 GB, free: 4.801 MB / 0.7169 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.0005246/0.7988, allocations: 0.5713 MB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.7988, allocations: 13.56 kB / 0.9595 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/0.7989, allocations: 28 kB / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.7992, allocations: 259.7 kB / 0.9598 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.7992, allocations: 18.12 kB / 0.9598 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.7993, allocations: 27.75 kB / 0.9598 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.7996, allocations: 158 kB / 0.96 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.7996, allocations: 1.562 kB / 0.96 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.7996, allocations: 9.312 kB / 0.96 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.7996, allocations: 6.75 kB / 0.96 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.7998, allocations: 79.66 kB / 0.9601 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.8005, allocations: 0.7168 MB / 0.9608 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.8007, allocations: 173.9 kB / 0.9609 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.8008, allocations: 42.53 kB / 0.961 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.8008, allocations: 1.281 kB / 0.961 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.801, allocations: 167.7 kB / 0.9611 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.492e-06/0.801, allocations: 0.875 kB / 0.9611 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004531/0.8015, allocations: 243.6 kB / 0.9614 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.8015, allocations: 59.88 kB / 0.9614 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.8017, allocations: 178.4 kB / 0.9616 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.8017, allocations: 43.69 kB / 0.9616 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.8018, allocations: 123 kB / 0.9618 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.8019, allocations: 38.42 kB / 0.9618 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.802, allocations: 56.69 kB / 0.9618 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.802, allocations: 326.5 kB / 0.9622 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.8023, allocations: 161.8 kB / 0.9623 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.8026, allocations: 237.3 kB / 0.9625 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.803, allocations: 409 kB / 0.9629 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.803, allocations: 1.469 kB / 0.9629 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008976/0.8039, allocations: 0.6184 MB / 0.9635 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/0.804, allocations: 164.5 kB / 0.9637 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.804, allocations: 7.25 kB / 0.9637 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.8041, allocations: 3.656 kB / 0.9637 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.501e-05/0.8041, allocations: 10.23 kB / 0.9637 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.8041, allocations: 7.656 kB / 0.9637 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/0.805, allocations: 201.3 kB / 0.9639 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.149e-05/0.8051, allocations: 34.27 kB / 0.9639 GB, free: 0.6484 MB / 0.7169 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.0001509/0.8052, allocations: 157.7 kB / 0.9641 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.8053, allocations: 15.47 kB / 0.9641 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.8053, allocations: 21.25 kB / 0.9641 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.8053, allocations: 2 kB / 0.9641 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/0.8053, allocations: 0 / 0.9641 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8054, allocations: 5.281 kB / 0.9641 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.8058, allocations: 0.5088 MB / 0.9646 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.8058, allocations: 3.984 kB / 0.9646 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.8059, allocations: 8.281 kB / 0.9646 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8059, allocations: 1.406 kB / 0.9646 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.8059, allocations: 5.516 kB / 0.9646 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.8059, allocations: 5.062 kB / 0.9647 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8059, allocations: 0 / 0.9647 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.8062, allocations: 289.2 kB / 0.9649 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.8063, allocations: 89.86 kB / 0.965 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.8063, allocations: 14.45 kB / 0.965 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.8064, allocations: 1.469 kB / 0.965 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.8065, allocations: 19.09 kB / 0.965 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.8065, allocations: 10.34 kB / 0.9651 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.471e-05/0.8066, allocations: 119.6 kB / 0.9652 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8066, allocations: 0 / 0.9652 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003762/0.807, allocations: 96.8 kB / 0.9653 GB, free: 15.58 MB / 0.7325 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.0001852/0.8071, allocations: 106.7 kB / 0.9654 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007923/0.8079, allocations: 0.6143 MB / 0.966 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.808, allocations: 3.938 kB / 0.966 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.8081, allocations: 76.3 kB / 0.966 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.8085, allocations: 49.25 kB / 0.9661 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.8091, allocations: 371.6 kB / 0.9664 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.8095, allocations: 0.7287 MB / 0.9672 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.665e-05/0.8095, allocations: 20.45 kB / 0.9672 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.8096, allocations: 22.12 kB / 0.9672 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.8096, allocations: 0 / 0.9672 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.00891/0.8185, allocations: 4.326 MB / 0.9714 GB, free: 11.75 MB / 0.7325 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/jenkins/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