Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001502/0.001502, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001048/0.001048, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9999/0.9999, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.572/2.572, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.276e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001235/0.001248, allocations: 0.7609 MB / 0.8394 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007625/0.00201, allocations: 0.847 MB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.002042, allocations: 0 / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.002067, allocations: 3.938 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.002132, allocations: 15.92 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.205e-05/0.002184, allocations: 7.984 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.503e-05/0.002249, allocations: 51.8 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.897e-05/0.002318, allocations: 7.984 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.753e-05/0.002396, allocations: 19.98 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.539e-05/0.002431, allocations: 19.97 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.002446, allocations: 0 / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.002453, allocations: 4 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.002469, allocations: 15.92 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.002484, allocations: 4 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.586e-05/0.00255, allocations: 35.84 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.002552, allocations: 0 / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002553, allocations: 0 / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.002556, allocations: 4 kB / 0.8404 GB, free: 12.28 MB / 0.8073 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.0002706/0.002827, allocations: 252.9 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.002855, allocations: 16.61 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.002876, allocations: 0.9375 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.294e-05/0.002949, allocations: 109.8 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.002958, allocations: 4.375 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-06/0.002963, allocations: 384 / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.571e-05/0.003059, allocations: 66.88 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.003066, allocations: 192 / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.003073, allocations: 8.375 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003079, allocations: 384 / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.063e-05/0.003099, allocations: 11.92 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.00329, allocations: 152.2 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.556e-05/0.003335, allocations: 30.5 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.003352, allocations: 8.859 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.003359, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.003376, allocations: 30.56 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.003378, allocations: 3.984 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.86e-05/0.003477, allocations: 49.78 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.003501, allocations: 55.41 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.316e-05/0.003554, allocations: 122.6 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.003563, allocations: 25.7 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.003591, allocations: 88.06 kB / 0.8414 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.003607, allocations: 15.89 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.003636, allocations: 13.72 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.003706, allocations: 318.8 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.003715, allocations: 0 / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.327e-06/0.003724, allocations: 4 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/0.003747, allocations: 12.84 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.003749, allocations: 12 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.284e-05/0.003792, allocations: 37.69 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.003802, allocations: 4 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.003806, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.003817, allocations: 7.875 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.003872, allocations: 11.98 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-06/0.003875, allocations: 0 / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.003896, allocations: 12 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.0039, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 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 5.015e-05/0.00395, allocations: 109.8 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.003968, allocations: 12 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.003982, allocations: 4 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.003984, allocations: 3.938 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.003986, allocations: 0 / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.003989, allocations: 0 / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.982e-05/0.004069, allocations: 73.88 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.00407, allocations: 0 / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.004096, allocations: 11.98 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004097, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.004103, allocations: 8 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004104, allocations: 4 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.004105, allocations: 0 / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.513e-05/0.00419, allocations: 139.4 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.004196, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-06/0.004204, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.859e-05/0.004242, allocations: 7.984 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.004273, allocations: 8 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.004277, allocations: 3.938 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.416e-05/0.004291, allocations: 12.84 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.004291, allocations: 3.938 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001166/0.004408, allocations: 11.95 kB / 0.8423 GB, free: 10.21 MB / 0.8073 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 6.806e-05/0.004476, allocations: 80.05 kB / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.567e-05/0.004541, allocations: 21.2 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.004544, allocations: 7.938 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.004561, allocations: 8.953 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.004699, allocations: 11.94 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.004916, allocations: 136.6 kB / 0.8425 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.802e-05/0.004944, allocations: 55.3 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.004962, allocations: 4 kB / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.005007, allocations: 55.36 kB / 0.8426 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of SimCode: time 4.1e-07/0.005008, allocations: 0 / 0.8426 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of Templates: time 0.00202/0.007028, allocations: 0.6856 MB / 0.8433 GB, free: 9.105 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.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: 5.4210845259949565]