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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 249.4 MB, free: 3.117 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 443.5 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.88 kB / 1.059 GB, free: 324 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3553, allocations: 160.8 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002241/0.3576, allocations: 0.8372 MB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3596, allocations: 1.492 MB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.3597, allocations: 0 / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.3598, allocations: 19.81 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.3599, allocations: 39.69 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3613, allocations: 0.5125 MB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.3619, allocations: 483.1 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.362, allocations: 29.48 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.3622, allocations: 183.7 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.3625, allocations: 171.4 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.358e-05/0.3626, allocations: 44 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3627, allocations: 51.98 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.3628, allocations: 43.84 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.363, allocations: 163.5 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.3635, allocations: 414.7 kB / 1.221 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3635, allocations: 4 kB / 1.221 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3635, allocations: 0 / 1.221 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3635, allocations: 0 / 1.221 GB, free: 10.8 MB / 0.9669 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.0008736/0.3643, allocations: 0.6514 MB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3644, allocations: 12.03 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3645, allocations: 28.84 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.3649, allocations: 265 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.3649, allocations: 24.36 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.365, allocations: 28.38 kB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.3653, allocations: 158.6 kB / 1.222 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3653, allocations: 192 / 1.222 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3653, allocations: 7.938 kB / 1.222 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3653, allocations: 4 kB / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.3654, allocations: 87.88 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009131/0.3664, allocations: 0.6994 MB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.3666, allocations: 163.8 kB / 1.223 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.702e-05/0.3667, allocations: 40.78 kB / 1.223 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.3667, allocations: 4 kB / 1.223 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.367, allocations: 157.5 kB / 1.223 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.367, allocations: 0 / 1.223 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0005118/0.3675, allocations: 245.3 kB / 1.223 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.3676, allocations: 59.41 kB / 1.223 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3677, allocations: 186.7 kB / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.3678, allocations: 37.7 kB / 1.223 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3679, allocations: 128.6 kB / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.368, allocations: 39.73 kB / 1.223 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.3682, allocations: 117.6 kB / 1.224 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3683, allocations: 330.8 kB / 1.224 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.3687, allocations: 155.9 kB / 1.224 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.369, allocations: 242.1 kB / 1.224 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.3695, allocations: 408.3 kB / 1.225 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3695, allocations: 0 / 1.225 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009974/0.3705, allocations: 0.6307 MB / 1.225 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.3706, allocations: 168.4 kB / 1.225 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.3707, allocations: 7.938 kB / 1.225 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.3707, allocations: 4 kB / 1.225 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.385e-05/0.3707, allocations: 7.938 kB / 1.225 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3707, allocations: 4 kB / 1.225 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007072/0.3714, allocations: 139.9 kB / 1.226 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/0.3715, allocations: 31.97 kB / 1.226 GB, free: 5.148 MB / 0.9669 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.0001876/0.3717, allocations: 155.1 kB / 1.226 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.3717, allocations: 23.86 kB / 1.226 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.3718, allocations: 25.8 kB / 1.226 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3718, allocations: 0 / 1.226 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.3718, allocations: 0 / 1.226 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3718, allocations: 4 kB / 1.226 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.3724, allocations: 0.5038 MB / 1.226 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3724, allocations: 4 kB / 1.226 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.3724, allocations: 11.98 kB / 1.226 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3724, allocations: 7.984 kB / 1.226 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.3724, allocations: 8 kB / 1.226 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3724, allocations: 0 / 1.226 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3724, allocations: 4 kB / 1.226 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.3728, allocations: 282 kB / 1.227 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.3728, allocations: 89.02 kB / 1.227 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.3728, allocations: 7.984 kB / 1.227 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.3729, allocations: 8 kB / 1.227 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.373, allocations: 15.98 kB / 1.227 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.373, allocations: 11.98 kB / 1.227 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001047/0.3731, allocations: 119.2 kB / 1.227 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3731, allocations: 0 / 1.227 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003552/0.3734, allocations: 83.89 kB / 1.227 GB, free: 3.699 MB / 0.9669 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.0002097/0.3737, allocations: 120.3 kB / 1.227 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000799/0.3745, allocations: 0.5556 MB / 1.228 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3745, allocations: 0 / 1.228 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3746, allocations: 63.91 kB / 1.228 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.375, allocations: 59.81 kB / 1.228 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.3757, allocations: 328.3 kB / 1.228 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.3761, allocations: 0.7281 MB / 1.229 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.069e-05/0.3761, allocations: 17.55 kB / 1.229 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.3762, allocations: 27.42 kB / 1.229 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of SimCode: time 9.52e-07/0.3762, allocations: 4 kB / 1.229 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of Templates: time 0.00947/0.3856, allocations: 4.599 MB / 1.233 GB, free: 13.14 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.623626382090151]