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.00103/0.00103, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 187.2 kB / 16.92 MB, free: 6.75 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.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.509/2.509, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.000389, allocations: 12 kB / 0.8167 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/0.721, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00092/0.722, allocations: 0.5493 MB / 0.9563 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.7237, allocations: 1.524 MB / 0.9577 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.7238, allocations: 5.062 kB / 0.9578 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.7239, allocations: 16.89 kB / 0.9578 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.724, allocations: 23.25 kB / 0.9578 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.7251, allocations: 496.3 kB / 0.9583 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.7255, allocations: 425.4 kB / 0.9587 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.7257, allocations: 39.64 kB / 0.9587 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.7258, allocations: 156.8 kB / 0.9589 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.726, allocations: 126.2 kB / 0.959 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.7261, allocations: 20.62 kB / 0.959 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-05/0.7262, allocations: 36.86 kB / 0.959 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.7262, allocations: 38.95 kB / 0.9591 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.7264, allocations: 166.7 kB / 0.9592 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.7266, allocations: 286 kB / 0.9595 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7266, allocations: 5.375 kB / 0.9595 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7266, allocations: 0 / 0.9595 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.7267, allocations: 0 / 0.9595 GB, free: 5.035 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.0005365/0.7272, allocations: 0.5674 MB / 0.9601 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.7273, allocations: 9.625 kB / 0.9601 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.725e-05/0.7273, allocations: 37.25 kB / 0.9601 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.7276, allocations: 250.3 kB / 0.9603 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.7276, allocations: 21.89 kB / 0.9604 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/0.7277, allocations: 32.75 kB / 0.9604 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.728, allocations: 162.2 kB / 0.9606 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.728, allocations: 192 / 0.9606 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.728, allocations: 9.219 kB / 0.9606 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.7281, allocations: 3.906 kB / 0.9606 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.7282, allocations: 83.66 kB / 0.9606 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007595/0.729, allocations: 0.7083 MB / 0.9613 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.7291, allocations: 175.1 kB / 0.9615 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.7292, allocations: 42.56 kB / 0.9615 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.7292, allocations: 8.891 kB / 0.9616 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.7295, allocations: 163 kB / 0.9617 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.7295, allocations: 1.375 kB / 0.9617 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004469/0.7299, allocations: 239.5 kB / 0.9619 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.73, allocations: 59.38 kB / 0.962 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.7301, allocations: 183.4 kB / 0.9622 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/0.7302, allocations: 42.39 kB / 0.9622 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.7303, allocations: 131.5 kB / 0.9623 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.7303, allocations: 34.86 kB / 0.9624 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.7304, allocations: 55.56 kB / 0.9624 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.7304, allocations: 323.2 kB / 0.9627 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.7308, allocations: 157.1 kB / 0.9629 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.7311, allocations: 241.5 kB / 0.9631 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.7315, allocations: 408.8 kB / 0.9635 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7315, allocations: 5.469 kB / 0.9635 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009153/0.7324, allocations: 0.6161 MB / 0.9641 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/0.7325, allocations: 164.1 kB / 0.9643 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.7325, allocations: 10.16 kB / 0.9643 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.7325, allocations: 4.75 kB / 0.9643 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.671e-05/0.7326, allocations: 5.75 kB / 0.9643 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.7326, allocations: 20.88 kB / 0.9643 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000923/0.7335, allocations: 194.5 kB / 0.9645 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/0.7336, allocations: 30.73 kB / 0.9645 GB, free: 0.8789 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.0001537/0.7338, allocations: 155.9 kB / 0.9647 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.7338, allocations: 24.11 kB / 0.9647 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.7338, allocations: 20.25 kB / 0.9647 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.7338, allocations: 2.281 kB / 0.9647 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.7339, allocations: 1.562 kB / 0.9647 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7339, allocations: 0 / 0.9647 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.7343, allocations: 0.5094 MB / 0.9652 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7343, allocations: 3.938 kB / 0.9652 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.7344, allocations: 3.75 kB / 0.9652 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.7344, allocations: 5.188 kB / 0.9652 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.7344, allocations: 7.016 kB / 0.9652 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.7344, allocations: 0 / 0.9652 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.7344, allocations: 1.219 kB / 0.9652 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.7347, allocations: 280.8 kB / 0.9655 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.7347, allocations: 97.14 kB / 0.9656 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.7348, allocations: 9.922 kB / 0.9656 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.7348, allocations: 1.938 kB / 0.9656 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.7349, allocations: 24.34 kB / 0.9656 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.7349, allocations: 9.875 kB / 0.9656 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.688e-05/0.735, allocations: 123.9 kB / 0.9658 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.735, allocations: 0 / 0.9658 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003629/0.7354, allocations: 88.33 kB / 0.9658 GB, free: 15.81 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.000187/0.7356, allocations: 106.1 kB / 0.9659 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008266/0.7364, allocations: 0.6174 MB / 0.9665 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.7365, allocations: 1.312 kB / 0.9665 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.7366, allocations: 85.95 kB / 0.9666 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.737, allocations: 46.44 kB / 0.9667 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.7377, allocations: 410.9 kB / 0.9671 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.738, allocations: 0.7252 MB / 0.9678 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.7381, allocations: 21.66 kB / 0.9678 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.7381, allocations: 0 / 0.9678 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of Templates: time 0.006119/0.7442, allocations: 3.302 MB / 0.971 GB, free: 12.43 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/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