Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009224/0.0009225, allocations: 98.88 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.0009183/0.0009185, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003795, allocations: 16 kB / 0.8735 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7074/0.7078, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001153/0.709, allocations: 0.555 MB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00221/0.7112, allocations: 1.526 MB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.7113, allocations: 0 / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.7115, allocations: 11.88 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.7116, allocations: 35.77 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.713, allocations: 484.2 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005861/0.7136, allocations: 419.2 kB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.7138, allocations: 49.45 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.7141, allocations: 155.6 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.7144, allocations: 127.6 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.7145, allocations: 27.94 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.7147, allocations: 39.98 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.7148, allocations: 27.92 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.7151, allocations: 165.2 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.7155, allocations: 281.2 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7155, allocations: 4 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7155, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.7155, allocations: 4 kB / 1.027 GB, free: 12.03 MB / 0.7794 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.0008122/0.7163, allocations: 0.5851 MB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.7164, allocations: 12.03 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.7165, allocations: 28.75 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.7169, allocations: 256 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.7169, allocations: 20.38 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.017e-05/0.717, allocations: 36.3 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.7173, allocations: 157.4 kB / 1.029 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7173, allocations: 192 / 1.029 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.7174, allocations: 7.938 kB / 1.029 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.7174, allocations: 4 kB / 1.029 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.7175, allocations: 79.89 kB / 1.029 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.7184, allocations: 0.7071 MB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.7187, allocations: 167.7 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.7187, allocations: 49.02 kB / 1.03 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.7188, allocations: 3.938 kB / 1.03 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.719, allocations: 156.8 kB / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.7191, allocations: 0 / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004659/0.7195, allocations: 247 kB / 1.03 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.7196, allocations: 59.39 kB / 1.03 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.7197, allocations: 183.2 kB / 1.03 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-05/0.7198, allocations: 37.7 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.7199, allocations: 132.4 kB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.72, allocations: 43.53 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.7201, allocations: 49.69 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7202, allocations: 326.8 kB / 1.031 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.7205, allocations: 159.9 kB / 1.031 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.7209, allocations: 234.2 kB / 1.031 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.7214, allocations: 410.5 kB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.7214, allocations: 0 / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009856/0.7224, allocations: 0.6263 MB / 1.032 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.7225, allocations: 162.8 kB / 1.032 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.7225, allocations: 11.92 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.7226, allocations: 4 kB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.876e-05/0.7226, allocations: 11.94 kB / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.7226, allocations: 4 kB / 1.032 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009579/0.7236, allocations: 198.4 kB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/0.7237, allocations: 35.97 kB / 1.033 GB, free: 6.449 MB / 0.7794 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.0001923/0.7239, allocations: 151.6 kB / 1.033 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.7239, allocations: 15.81 kB / 1.033 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.724, allocations: 25.8 kB / 1.033 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.724, allocations: 4 kB / 1.033 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.724, allocations: 0 / 1.033 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.724, allocations: 0 / 1.033 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.7246, allocations: 0.5113 MB / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7246, allocations: 7.938 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.7246, allocations: 3.984 kB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.7246, allocations: 4 kB / 1.033 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.7246, allocations: 4 kB / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.7246, allocations: 3.938 kB / 1.033 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7246, allocations: 8 kB / 1.033 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.725, allocations: 285.1 kB / 1.033 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.725, allocations: 88.92 kB / 1.034 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.7251, allocations: 0 / 1.034 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.7251, allocations: 11.98 kB / 1.034 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.7252, allocations: 15.98 kB / 1.034 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.7252, allocations: 15.92 kB / 1.034 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.904e-05/0.7253, allocations: 124.8 kB / 1.034 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7253, allocations: 0 / 1.034 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003955/0.7257, allocations: 79.94 kB / 1.034 GB, free: 5.016 MB / 0.7794 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.0001905/0.7259, allocations: 116.4 kB / 1.034 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007874/0.7267, allocations: 0.6145 MB / 1.035 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7267, allocations: 128 / 1.035 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.7269, allocations: 87.89 kB / 1.035 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.7273, allocations: 43.89 kB / 1.035 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006499/0.728, allocations: 400.1 kB / 1.035 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.7283, allocations: 0.7325 MB / 1.036 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.7284, allocations: 19.44 kB / 1.036 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.7284, allocations: 0 / 1.036 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of Templates: time 0.006303/0.7347, allocations: 3.315 MB / 1.039 GB, free: 15.61 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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