Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 160.4 kB / 23.02 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.917/2.917, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 66.25 kB / 1.009 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.051, allocations: 181.8 MB / 1.187 GB, free: 16.1 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002119/1.053, allocations: 0.798 MB / 1.187 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001797/1.054, allocations: 1.503 MB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/1.055, allocations: 1.219 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/1.055, allocations: 21.22 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/1.055, allocations: 36.64 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/1.056, allocations: 0.5148 MB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005971/1.057, allocations: 478.4 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/1.057, allocations: 35.14 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/1.057, allocations: 192.7 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/1.057, allocations: 153 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.143e-05/1.057, allocations: 41.09 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/1.057, allocations: 53.19 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.904e-05/1.058, allocations: 41.55 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002112/1.058, allocations: 153 kB / 1.191 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005606/1.058, allocations: 410.2 kB / 1.191 GB, free: 13.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.058, allocations: 4 kB / 1.191 GB, free: 13.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.054e-06/1.058, allocations: 1.281 kB / 1.191 GB, free: 13.65 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.221e-05/1.058, allocations: 0 / 1.191 GB, free: 13.65 MB / 1.076 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.0007426/1.059, allocations: 0.5712 MB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.059, allocations: 9.281 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.735e-05/1.059, allocations: 30.39 kB / 1.192 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/1.06, allocations: 209 kB / 1.192 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/1.06, allocations: 19.11 kB / 1.192 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/1.06, allocations: 29.33 kB / 1.192 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/1.06, allocations: 157 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.06, allocations: 192 / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/1.06, allocations: 7.375 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/1.06, allocations: 2.641 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/1.06, allocations: 88.41 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007622/1.061, allocations: 0.5653 MB / 1.193 GB, free: 12.44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/1.061, allocations: 90.45 kB / 1.193 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/1.061, allocations: 40.2 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/1.061, allocations: 6.234 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/1.061, allocations: 158.6 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/1.061, allocations: 4 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0004896/1.062, allocations: 245.6 kB / 1.193 GB, free: 12.19 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.062, allocations: 59.95 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/1.062, allocations: 188 kB / 1.193 GB, free: 11.99 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/1.062, allocations: 40.06 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/1.062, allocations: 124.3 kB / 1.193 GB, free: 11.85 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/1.062, allocations: 48.67 kB / 1.194 GB, free: 11.81 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/1.062, allocations: 116.2 kB / 1.194 GB, free: 11.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.252e-05/1.063, allocations: 328.6 kB / 1.194 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/1.063, allocations: 307.4 kB / 1.194 GB, free: 11.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/1.063, allocations: 397.7 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/1.064, allocations: 407.4 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/1.064, allocations: 5.219 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001059/1.065, allocations: 0.7752 MB / 1.196 GB, free: 10.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.065, allocations: 163.9 kB / 1.196 GB, free: 9.891 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.065, allocations: 6.094 kB / 1.196 GB, free: 9.887 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.065, allocations: 9 kB / 1.196 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.502e-05/1.065, allocations: 7.156 kB / 1.196 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.065, allocations: 13.97 kB / 1.196 GB, free: 9.875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/1.066, allocations: 135.2 kB / 1.196 GB, free: 9.859 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/1.066, allocations: 33.31 kB / 1.196 GB, free: 9.855 MB / 1.076 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.0001481/1.066, allocations: 166.2 kB / 1.196 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/1.066, allocations: 15.52 kB / 1.196 GB, free: 9.707 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/1.066, allocations: 18.28 kB / 1.196 GB, free: 9.688 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.066, allocations: 7.219 kB / 1.196 GB, free: 9.684 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/1.066, allocations: 0.75 kB / 1.196 GB, free: 9.684 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.066, allocations: 0.6094 kB / 1.196 GB, free: 9.684 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/1.067, allocations: 430.8 kB / 1.197 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.067, allocations: 0 / 1.197 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/1.067, allocations: 12.38 kB / 1.197 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.067, allocations: 5.062 kB / 1.197 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/1.067, allocations: 8.781 kB / 1.197 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/1.067, allocations: 1.25 kB / 1.197 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.067, allocations: 0.7031 kB / 1.197 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/1.067, allocations: 276.2 kB / 1.197 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/1.067, allocations: 29.06 kB / 1.197 GB, free: 9.172 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/1.067, allocations: 3.359 kB / 1.197 GB, free: 9.172 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/1.067, allocations: 6.438 kB / 1.197 GB, free: 9.168 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/1.067, allocations: 23.52 kB / 1.197 GB, free: 9.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/1.067, allocations: 11.94 kB / 1.197 GB, free: 9.156 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.096e-05/1.067, allocations: 118.9 kB / 1.197 GB, free: 9.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.067, allocations: 0 / 1.197 GB, free: 9.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003762/1.068, allocations: 78.45 kB / 1.197 GB, free: 9.062 MB / 1.076 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.0001305/1.068, allocations: 106.4 kB / 1.197 GB, free: 8.973 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000737/1.069, allocations: 0.7082 MB / 1.198 GB, free: 8.387 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.069, allocations: 4.188 kB / 1.198 GB, free: 8.383 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/1.069, allocations: 68.45 kB / 1.198 GB, free: 8.363 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/1.069, allocations: 50.11 kB / 1.198 GB, free: 8.348 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/1.07, allocations: 339.6 kB / 1.199 GB, free: 8.125 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/1.07, allocations: 117.1 kB / 1.199 GB, free: 8.047 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.937e-05/1.07, allocations: 22.56 kB / 1.199 GB, free: 8.043 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/1.07, allocations: 23.7 kB / 1.199 GB, free: 8.031 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/1.07, allocations: 0 / 1.199 GB, free: 8.031 MB / 1.076 GB Notification: Performance of Templates: time 0.01108/1.081, allocations: 5.108 MB / 1.204 GB, free: 7.41 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.164713701000437]