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.001902/0.001902, allocations: 104 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002053/0.002053, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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.79/1.79, allocations: 230.5 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.47/3.47, allocations: 0.4899 GB / 0.7915 GB, free: 33.17 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.62 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4524, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002121/0.4546, allocations: 0.7227 MB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.4557, allocations: 0.8281 MB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.4557, allocations: 0 / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.4557, allocations: 3.938 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.091e-05/0.4558, allocations: 7.938 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.308e-05/0.4559, allocations: 15.98 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.456, allocations: 47.78 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.4561, allocations: 8 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.4562, allocations: 19.92 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.4562, allocations: 19.92 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.4563, allocations: 4 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.4563, allocations: 4 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.4563, allocations: 11.97 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.4563, allocations: 15.88 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.4564, allocations: 43.8 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4564, allocations: 0 / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4564, allocations: 4 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4565, allocations: 0 / 1.323 GB, free: 1.031 MB / 1.014 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.0006384/0.4571, allocations: 363.3 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.4571, allocations: 11.98 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.4572, allocations: 4.938 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.4573, allocations: 180.2 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4573, allocations: 384 / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.4573, allocations: 384 / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.4576, allocations: 74.22 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4576, allocations: 192 / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.4576, allocations: 3.938 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.4577, allocations: 0 / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.458, allocations: 67.91 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.4584, allocations: 268.9 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.4586, allocations: 58.48 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.4588, allocations: 36.91 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4588, allocations: 4 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.4588, allocations: 34.56 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4588, allocations: 0 / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005994/0.4594, allocations: 129.5 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.4595, allocations: 59.39 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.4596, allocations: 105.8 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.4596, allocations: 33.62 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.4597, allocations: 88.14 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.4597, allocations: 11.84 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.4598, allocations: 17.72 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4599, allocations: 314.8 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.4601, allocations: 35.97 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.4602, allocations: 31.97 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.4605, allocations: 68.78 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4605, allocations: 3.938 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003502/0.4609, allocations: 101.6 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4609, allocations: 7.984 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4609, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4609, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.461, allocations: 19.98 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.461, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/0.4611, allocations: 15.98 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.4611, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 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 9.012e-05/0.4612, allocations: 109.8 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.4613, allocations: 7.953 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.4613, allocations: 11.89 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4613, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4613, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.4613, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.4615, allocations: 173.5 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4615, allocations: 0 / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.4616, allocations: 19.98 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4616, allocations: 3.984 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4616, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4616, allocations: 3.938 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4616, allocations: 4 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.4621, allocations: 195.8 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.4621, allocations: 81.06 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4621, allocations: 0 / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.4622, allocations: 15.97 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.4623, allocations: 4.031 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.4623, allocations: 4 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.4623, allocations: 95.5 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4623, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002176/0.4626, allocations: 12 kB / 1.326 GB, free: 13.86 MB / 1.029 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.0001656/0.4627, allocations: 99.25 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.4631, allocations: 71.86 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4631, allocations: 0 / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.4633, allocations: 39.95 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.4636, allocations: 14.06 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.4639, allocations: 125.5 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.4643, allocations: 0.6807 MB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.4643, allocations: 4 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.4643, allocations: 11.42 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4643, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of Templates: time 0.003227/0.4676, allocations: 0.6781 MB / 1.327 GB, free: 12.09 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 400] 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: 9.820381022058427]