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.001929/0.001929, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.002772/0.002772, allocations: 161.7 kB / 23.55 MB, free: 0.875 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 1.604/1.604, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.098/3.098, allocations: 377.8 MB / 0.6232 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.264e-06/2.264e-06, allocations: 0.5469 kB / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.23e-05, allocations: 3.312 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001824/0.001857, allocations: 0.701 MB / 0.8116 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.003105, allocations: 0.8329 MB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.003144, allocations: 0 / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.003172, allocations: 3.938 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/0.003253, allocations: 8.969 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.595e-05/0.003319, allocations: 11.97 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.003417, allocations: 48.55 kB / 0.8124 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.003508, allocations: 3.984 kB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.766e-05/0.003606, allocations: 28.83 kB / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.003649, allocations: 19.97 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.003669, allocations: 7.938 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-06/0.003676, allocations: 0.6562 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.0037, allocations: 16.8 kB / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.003737, allocations: 8 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003841, allocations: 39.92 kB / 0.8126 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003843, allocations: 1.25 kB / 0.8126 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003844, allocations: 0 / 0.8126 GB, free: 328 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003848, allocations: 3.938 kB / 0.8126 GB, free: 324 kB / 0.7605 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.0005638/0.004412, allocations: 378 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.004448, allocations: 8.031 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.004492, allocations: 8.891 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.004624, allocations: 116.6 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.004636, allocations: 1.531 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.004648, allocations: 4.375 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.004848, allocations: 59.17 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.004862, allocations: 8.109 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.004872, allocations: 384 / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.004876, allocations: 1.156 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.005047, allocations: 41.12 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.005461, allocations: 271.8 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.005617, allocations: 51.58 kB / 0.8135 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.005727, allocations: 28.98 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.005744, allocations: 3.938 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.005782, allocations: 42.42 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.005783, allocations: 0 / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0003879/0.006171, allocations: 94.58 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.006221, allocations: 51.41 kB / 0.8137 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.00637, allocations: 176 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.006391, allocations: 25.7 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.006485, allocations: 138.8 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.00651, allocations: 11.89 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.00656, allocations: 19.38 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002754/0.006836, allocations: 0.4938 MB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.006929, allocations: 23.92 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.007005, allocations: 16.52 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.007165, allocations: 48.22 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.007167, allocations: 1.438 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002085/0.007375, allocations: 73.62 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.007395, allocations: 12.53 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007399, allocations: 0 / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.007414, allocations: 4.734 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.007501, allocations: 8 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.007508, allocations: 5.906 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.007563, allocations: 15.86 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.007569, allocations: 0 / 0.8147 GB, free: 13.92 MB / 0.7761 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 0.0001187/0.007688, allocations: 160.6 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.007712, allocations: 4.625 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.007743, allocations: 12.62 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.007745, allocations: 0 / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.007748, allocations: 0.8125 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.00775, allocations: 0 / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.007908, allocations: 121.6 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.007911, allocations: 4 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.007976, allocations: 11.98 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007978, allocations: 1.344 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.007989, allocations: 8 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.007992, allocations: 3.938 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007993, allocations: 0.875 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.0083, allocations: 234.2 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.008306, allocations: 0 / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.008321, allocations: 4 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.008398, allocations: 11.92 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.008445, allocations: 4 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.008448, allocations: 0.6562 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.231e-05/0.00853, allocations: 135.2 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008531, allocations: 3.438 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001975/0.008728, allocations: 8 kB / 0.8154 GB, free: 13.15 MB / 0.7761 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.0001136/0.008842, allocations: 91.25 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.009072, allocations: 55.64 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.009074, allocations: 0 / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.009176, allocations: 36.73 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.009429, allocations: 8 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.009771, allocations: 139.2 kB / 0.8157 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.087e-05/0.009852, allocations: 76.19 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.00988, allocations: 4 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.009914, allocations: 9 kB / 0.8158 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.009915, allocations: 4.531 kB / 0.8158 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of Templates: time 0.003755/0.01367, allocations: 0.7518 MB / 0.8166 GB, free: 11.95 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.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.247923261020333]