Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.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.0007395/0.0007395, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001776, 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.0006744/0.0006744, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008455/0.00152, 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 0.9392/0.9392, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.04, 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.883/1.883, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.547/2.43, allocations: 123.3 MB / 0.7283 GB, free: 5.715 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.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7297 GB, free: 4.328 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.916e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.324 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002181/0.00221, allocations: 0.758 MB / 0.7305 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.003203, allocations: 0.8572 MB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.003241, allocations: 0 / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.003268, allocations: 0 / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.003318, allocations: 11.62 kB / 0.7313 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.512e-05/0.003383, allocations: 16.97 kB / 0.7313 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.909e-05/0.003482, allocations: 44.28 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.003578, allocations: 12 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.003703, allocations: 30.81 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.003765, allocations: 14.28 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.00379, allocations: 4.688 kB / 0.7314 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.003801, allocations: 4 kB / 0.7314 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.003822, allocations: 7.953 kB / 0.7314 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.003848, allocations: 8.547 kB / 0.7314 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.003953, allocations: 30.86 kB / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.003968, allocations: 2.812 kB / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003969, allocations: 0 / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.003985, allocations: 0 / 0.7315 GB, free: 2.574 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.0005044/0.00449, allocations: 257.5 kB / 0.7317 GB, free: 2.297 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.004537, allocations: 8.031 kB / 0.7317 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.004579, allocations: 8.922 kB / 0.7317 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.004701, allocations: 113.7 kB / 0.7318 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.004714, allocations: 0.875 kB / 0.7318 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.004729, allocations: 5.219 kB / 0.7319 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.004885, allocations: 62.94 kB / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.004894, allocations: 1.438 kB / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.004901, allocations: 384 / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.004909, allocations: 1.359 kB / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.004937, allocations: 12.47 kB / 0.7319 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.005204, allocations: 161.9 kB / 0.7321 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.344e-05/0.005278, allocations: 26.55 kB / 0.7321 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.0053, allocations: 8.859 kB / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.00531, allocations: 0 / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.00534, allocations: 39.44 kB / 0.7322 GB, free: 1.793 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.005341, allocations: 0 / 0.7322 GB, free: 1.793 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001366/0.005477, allocations: 46.16 kB / 0.7322 GB, free: 1.742 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.005511, allocations: 56.39 kB / 0.7323 GB, free: 1.676 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/0.00559, allocations: 116.3 kB / 0.7324 GB, free: 1.551 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.005602, allocations: 25.7 kB / 0.7324 GB, free: 1.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.005647, allocations: 88.09 kB / 0.7325 GB, free: 1.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.005668, allocations: 3.953 kB / 0.7325 GB, free: 1.426 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.005709, allocations: 22.61 kB / 0.7325 GB, free: 1.398 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.005813, allocations: 314.8 kB / 0.7328 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.005829, allocations: 5.25 kB / 0.7328 GB, free: 1.078 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.343e-05/0.005843, allocations: 1.094 kB / 0.7328 GB, free: 1.078 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.005888, allocations: 25.05 kB / 0.7328 GB, free: 1.051 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.005891, allocations: 0 / 0.7328 GB, free: 1.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.822e-05/0.005969, allocations: 39.44 kB / 0.7329 GB, free: 1.008 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.005988, allocations: 8.781 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.005994, allocations: 0 / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.006015, allocations: 3.938 kB / 0.7329 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.006126, allocations: 13.2 kB / 0.7329 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.006131, allocations: 0 / 0.7329 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.006162, allocations: 4 kB / 0.7329 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.006169, allocations: 1.312 kB / 0.7329 GB, free: 0.9805 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 7.244e-05/0.006241, allocations: 115 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.006264, allocations: 3.984 kB / 0.733 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.006296, allocations: 8 kB / 0.733 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.0063, allocations: 4.562 kB / 0.733 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.006303, allocations: 0 / 0.733 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.006306, allocations: 4.719 kB / 0.733 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.006436, allocations: 81.81 kB / 0.7331 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.006438, allocations: 0.625 kB / 0.7331 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.006497, allocations: 8.875 kB / 0.7331 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.006506, allocations: 3.953 kB / 0.7331 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.006513, allocations: 7.984 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.006518, allocations: 0.875 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.00652, allocations: 0 / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.006524, allocations: 5.125 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.006637, allocations: 131.5 kB / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.006649, allocations: 0 / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.00671, allocations: 4.594 kB / 0.7333 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.006749, allocations: 11.98 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.006757, allocations: 9.531 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.06e-05/0.006778, allocations: 16.83 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.006778, allocations: 0 / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001859/0.006964, allocations: 15.88 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001295/0.007093, allocations: 73.67 kB / 0.7334 GB, free: 440 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.977e-05/0.007183, allocations: 14.11 kB / 0.7334 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.007194, allocations: 7.984 kB / 0.7334 GB, free: 416 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.007227, allocations: 12.86 kB / 0.7334 GB, free: 400 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.007493, allocations: 60.66 kB / 0.7335 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.008002, allocations: 140.2 kB / 0.7336 GB, free: 164 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.515e-05/0.008047, allocations: 55.34 kB / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.105e-05/0.008078, allocations: 5.938 kB / 0.7337 GB, free: 84 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.222e-05/0.008151, allocations: 51.38 kB / 0.7337 GB, free: 32 kB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/0.008152, allocations: 0 / 0.7337 GB, free: 32 kB / 0.698 GB Notification: Performance of Templates: time 0.002987/0.01114, allocations: 0.7056 MB / 0.7344 GB, free: 15.37 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.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.00761079788208]