Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.0007356/0.0007356, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001737, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006896/0.0006896, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.001864, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.983/0.983, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1063/1.089, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.864/1.864, allocations: 378.2 MB / 0.6076 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5913/2.456, allocations: 123.3 MB / 0.728 GB, free: 5.797 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.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.7293 GB, free: 4.492 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.043e-05, allocations: 3.297 kB / 0.7293 GB, free: 4.488 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001941/0.001972, allocations: 0.7469 MB / 0.7301 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.004063, allocations: 1.319 MB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.004105, allocations: 0 / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.004134, allocations: 7.875 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.607e-05/0.0042, allocations: 21.02 kB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.004827, allocations: 297.2 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000339/0.005166, allocations: 262.4 kB / 0.7319 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.566e-05/0.005262, allocations: 16.16 kB / 0.7319 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.005455, allocations: 140.5 kB / 0.7321 GB, free: 1.734 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.005615, allocations: 79.8 kB / 0.7321 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.005665, allocations: 25.72 kB / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.005773, allocations: 31.94 kB / 0.7322 GB, free: 1.602 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.0058, allocations: 15.92 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.005887, allocations: 51.94 kB / 0.7323 GB, free: 1.535 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.006148, allocations: 156.5 kB / 0.7324 GB, free: 1.383 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.636e-05/0.006174, allocations: 0 / 0.7324 GB, free: 1.383 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.332e-06/0.006175, allocations: 0 / 0.7324 GB, free: 1.383 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.006195, allocations: 1.781 kB / 0.7324 GB, free: 1.383 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005793/0.006775, allocations: 409.4 kB / 0.7328 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.006813, allocations: 12.03 kB / 0.7328 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.006867, allocations: 20.91 kB / 0.7328 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.00698, allocations: 117.7 kB / 0.7329 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.00701, allocations: 13.06 kB / 0.733 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.007044, allocations: 17.23 kB / 0.733 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.761e-05/0.007142, allocations: 62.88 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.007151, allocations: 192 / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.00716, allocations: 4.906 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.007167, allocations: 5.25 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.085e-05/0.007198, allocations: 11.98 kB / 0.7331 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.007571, allocations: 200.2 kB / 0.7332 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.704e-05/0.007628, allocations: 27.23 kB / 0.7333 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.007649, allocations: 12.94 kB / 0.7333 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.241e-06/0.007655, allocations: 4.531 kB / 0.7333 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.0078, allocations: 84.34 kB / 0.7334 GB, free: 300 kB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 5.981e-06/0.007806, allocations: 0 / 0.7334 GB, free: 300 kB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0001635/0.00797, allocations: 106.3 kB / 0.7335 GB, free: 188 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.00801, allocations: 55.41 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.008103, allocations: 132 kB / 0.7337 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.008131, allocations: 37.7 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.008177, allocations: 88.12 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.008196, allocations: 35.7 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.008269, allocations: 62.31 kB / 0.7339 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.008358, allocations: 322.8 kB / 0.7342 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.008468, allocations: 150.8 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.008592, allocations: 193.1 kB / 0.7345 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.008742, allocations: 220.4 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.008745, allocations: 0 / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002743/0.009019, allocations: 381.2 kB / 0.7351 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.998e-05/0.009089, allocations: 101.6 kB / 0.7352 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.009098, allocations: 8 kB / 0.7352 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.00911, allocations: 0.8438 kB / 0.7352 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.378e-05/0.009133, allocations: 4 kB / 0.7352 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.009139, allocations: 8.812 kB / 0.7352 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.009337, allocations: 65.14 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.009359, allocations: 11.98 kB / 0.7353 GB, free: 14.15 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.286e-05/0.009442, allocations: 126.9 kB / 0.7354 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.009452, allocations: 13.02 kB / 0.7354 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.009482, allocations: 16.38 kB / 0.7354 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.009484, allocations: 0 / 0.7354 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.009486, allocations: 0.5625 kB / 0.7354 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.00949, allocations: 1.781 kB / 0.7354 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.234e-05/0.009572, allocations: 85.86 kB / 0.7355 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.009574, allocations: 0 / 0.7355 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-06/0.009582, allocations: 3.938 kB / 0.7355 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.00959, allocations: 7.953 kB / 0.7355 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.009592, allocations: 1.219 kB / 0.7355 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.009599, allocations: 3.938 kB / 0.7355 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.009601, allocations: 4 kB / 0.7355 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.009603, allocations: 0.75 kB / 0.7355 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.009705, allocations: 101 kB / 0.7356 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.009717, allocations: 4.438 kB / 0.7356 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.798e-05/0.009735, allocations: 3.984 kB / 0.7356 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.009766, allocations: 16.67 kB / 0.7356 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.009774, allocations: 7.984 kB / 0.7356 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.05e-05/0.009794, allocations: 24.83 kB / 0.7357 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009794, allocations: 0 / 0.7357 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000138/0.009932, allocations: 40 kB / 0.7357 GB, free: 13.65 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001401/0.01007, allocations: 97.27 kB / 0.7358 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.01035, allocations: 381.9 kB / 0.7362 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.01035, allocations: 4 kB / 0.7362 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.01038, allocations: 20.86 kB / 0.7362 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.01054, allocations: 40.75 kB / 0.7362 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.01102, allocations: 188.9 kB / 0.7364 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.41e-05/0.01105, allocations: 63.34 kB / 0.7365 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.01108, allocations: 8.5 kB / 0.7365 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.0112, allocations: 91.33 kB / 0.7366 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/0.0112, allocations: 0 / 0.7366 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.004868/0.01606, allocations: 3.278 MB / 0.7398 GB, free: 9.574 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.982775709591806]