Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001149/0.001149, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002691, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001029/0.001029, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002381, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.02/1.02, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09412/1.114, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.96/1.96, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5366/2.496, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/2.013e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001471/0.001491, allocations: 0.7081 MB / 0.7303 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.002609, allocations: 1.243 MB / 0.7316 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.002647, allocations: 0.9062 kB / 0.7316 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.002669, allocations: 5.031 kB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.002716, allocations: 13.36 kB / 0.7316 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.003129, allocations: 208 kB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.003322, allocations: 170.2 kB / 0.7319 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.003391, allocations: 11.97 kB / 0.7319 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.003505, allocations: 95.33 kB / 0.732 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.003615, allocations: 54.64 kB / 0.7321 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.003645, allocations: 16.69 kB / 0.7321 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.003723, allocations: 23.98 kB / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.003747, allocations: 10.58 kB / 0.7321 GB, free: 1.906 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.003796, allocations: 37.22 kB / 0.7322 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.003951, allocations: 107.8 kB / 0.7323 GB, free: 1.766 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.003963, allocations: 0.9062 kB / 0.7323 GB, free: 1.766 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.003964, allocations: 3.938 kB / 0.7323 GB, free: 1.762 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.003978, allocations: 0.8125 kB / 0.7323 GB, free: 1.762 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004388/0.004417, allocations: 339.9 kB / 0.7326 GB, free: 1.391 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.004452, allocations: 9.438 kB / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.004505, allocations: 12.92 kB / 0.7326 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.004592, allocations: 125.6 kB / 0.7327 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.004605, allocations: 8.375 kB / 0.7328 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.004627, allocations: 8.906 kB / 0.7328 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.585e-05/0.004693, allocations: 43.67 kB / 0.7328 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004699, allocations: 4.188 kB / 0.7328 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-06/0.004704, allocations: 384 / 0.7328 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.00471, allocations: 384 / 0.7328 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.313e-05/0.004723, allocations: 9.031 kB / 0.7328 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.004969, allocations: 184.2 kB / 0.733 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/0.005028, allocations: 27.08 kB / 0.733 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.005042, allocations: 10.53 kB / 0.733 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/0.005048, allocations: 4 kB / 0.733 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.785e-05/0.005146, allocations: 83.36 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.005147, allocations: 3.938 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001305/0.005277, allocations: 74.25 kB / 0.7332 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.00531, allocations: 55.41 kB / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.005378, allocations: 127.9 kB / 0.7334 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.005401, allocations: 29.7 kB / 0.7334 GB, free: 500 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.005454, allocations: 92.08 kB / 0.7335 GB, free: 404 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.00547, allocations: 21.47 kB / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.005525, allocations: 41.67 kB / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.005616, allocations: 322.8 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.992e-05/0.005716, allocations: 99.38 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.005799, allocations: 135.6 kB / 0.7341 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.965e-05/0.005899, allocations: 141.6 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.005901, allocations: 0 / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001866/0.006088, allocations: 261.4 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.006133, allocations: 72.36 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.00614, allocations: 3.938 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.006152, allocations: 0.7812 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.899e-05/0.006171, allocations: 11.92 kB / 0.7345 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.006176, allocations: 9.156 kB / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.006333, allocations: 36.42 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.006353, allocations: 15.98 kB / 0.7346 GB, free: 15.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.776e-05/0.00644, allocations: 115.4 kB / 0.7347 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.006453, allocations: 11.98 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.006477, allocations: 8.375 kB / 0.7347 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.006479, allocations: 0.75 kB / 0.7347 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.006481, allocations: 0 / 0.7347 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.006485, allocations: 1.969 kB / 0.7347 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.444e-05/0.00656, allocations: 81.88 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.006562, allocations: 0 / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-06/0.006567, allocations: 0 / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.006575, allocations: 7.953 kB / 0.7348 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.006577, allocations: 1.344 kB / 0.7348 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.006582, allocations: 0 / 0.7348 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.006588, allocations: 7.922 kB / 0.7348 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.00659, allocations: 4 kB / 0.7348 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.606e-05/0.006676, allocations: 82.28 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.006686, allocations: 4 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.668e-05/0.006703, allocations: 4 kB / 0.7349 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.006732, allocations: 9.172 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.006737, allocations: 8.062 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.598e-05/0.006753, allocations: 12.86 kB / 0.7349 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006753, allocations: 0.8438 kB / 0.7349 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001464/0.006899, allocations: 35.92 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001334/0.007033, allocations: 85.97 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.007256, allocations: 267.2 kB / 0.7353 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.007262, allocations: 4 kB / 0.7353 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.556e-05/0.007287, allocations: 24.83 kB / 0.7353 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.007457, allocations: 130 kB / 0.7355 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.007877, allocations: 149 kB / 0.7356 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.007908, allocations: 59.34 kB / 0.7357 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.691e-05/0.007934, allocations: 4 kB / 0.7357 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.008035, allocations: 83.28 kB / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.008036, allocations: 3.031 kB / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.003832/0.01187, allocations: 2.258 MB / 0.738 GB, free: 11.65 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.171812819316983]