Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00171/0.00171, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002117/0.002117, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.209/3.209, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002036/0.002036, allocations: 68.84 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.344, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002136/0.3461, allocations: 0.7965 MB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.3482, allocations: 1.498 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.3483, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.3484, allocations: 19.8 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.3485, allocations: 47.58 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3497, allocations: 0.5114 MB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006162/0.3503, allocations: 479.2 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3505, allocations: 29.66 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.3507, allocations: 191.6 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.351, allocations: 167.6 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.788e-05/0.3511, allocations: 44 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3512, allocations: 55.92 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.3513, allocations: 39.91 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.3514, allocations: 151.6 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.3519, allocations: 410.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3519, allocations: 8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3519, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.3519, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 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.0008056/0.3527, allocations: 0.58 MB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3528, allocations: 12.03 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.3529, allocations: 28.84 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.3532, allocations: 202.2 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.3532, allocations: 24.36 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.3533, allocations: 28.38 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.3536, allocations: 158.6 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3536, allocations: 4.188 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.3536, allocations: 7.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3536, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.3538, allocations: 83.94 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000864/0.3547, allocations: 0.5625 MB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.3549, allocations: 90.48 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.3549, allocations: 40.83 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.355, allocations: 4.094 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003097/0.3553, allocations: 168.6 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.3553, allocations: 3.938 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005081/0.3558, allocations: 247.3 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3558, allocations: 55.41 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.356, allocations: 182.7 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.3561, allocations: 45.69 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3562, allocations: 124.6 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.3562, allocations: 39.75 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.3565, allocations: 117.6 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3566, allocations: 330.8 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.3571, allocations: 312.4 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.3576, allocations: 394.6 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.3581, allocations: 407.5 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3581, allocations: 0 / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001148/0.3592, allocations: 0.781 MB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.3594, allocations: 160.5 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3594, allocations: 4.344 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.3594, allocations: 7.938 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.739e-05/0.3594, allocations: 15.92 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.3594, allocations: 11.92 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008015/0.3602, allocations: 135.7 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.3603, allocations: 31.97 kB / 1.337 GB, free: 6.785 MB / 1.029 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.0002/0.3605, allocations: 163.5 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.3605, allocations: 15.91 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.3606, allocations: 17.81 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3606, allocations: 3.938 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3606, allocations: 0 / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3606, allocations: 7.984 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.3612, allocations: 434.1 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3612, allocations: 0 / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.3612, allocations: 11.92 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.3612, allocations: 3.938 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3612, allocations: 4 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3612, allocations: 4 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3612, allocations: 0 / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.3616, allocations: 276.9 kB / 1.337 GB, free: 5.793 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.3616, allocations: 19.84 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3616, allocations: 8 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.3617, allocations: 7.984 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.3617, allocations: 19.97 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3618, allocations: 7.938 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.67e-05/0.3619, allocations: 119.2 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3619, allocations: 3.938 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003901/0.3622, allocations: 87.88 kB / 1.338 GB, free: 5.523 MB / 1.029 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.0001874/0.3624, allocations: 107.2 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008851/0.3633, allocations: 0.7043 MB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3633, allocations: 0 / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.3634, allocations: 67.84 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3639, allocations: 46.31 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.3645, allocations: 340 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.3647, allocations: 116.1 kB / 1.339 GB, free: 4.016 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.102e-05/0.3647, allocations: 21.47 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.3648, allocations: 23.44 kB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3648, allocations: 4 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of Templates: time 0.01006/0.3748, allocations: 5.248 MB / 1.344 GB, free: 14.84 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.058901240990963]