Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 194.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 443.5 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002559/0.002559, allocations: 63.91 kB / 1.062 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 160.8 MB / 1.219 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002933/1.033, allocations: 0.6987 MB / 1.219 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001616/1.035, allocations: 0.8069 MB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/1.035, allocations: 0 / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.124e-05/1.035, allocations: 9.031 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/1.035, allocations: 5.062 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.838e-05/1.035, allocations: 17.03 kB / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/1.035, allocations: 40.7 kB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/1.035, allocations: 15.91 kB / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/1.036, allocations: 10.56 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/1.036, allocations: 32.44 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/1.036, allocations: 3.594 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/1.036, allocations: 3.906 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/1.036, allocations: 4.875 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/1.036, allocations: 19.52 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/1.036, allocations: 46.3 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.036, allocations: 0 / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.545e-06/1.036, allocations: 1.125 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.036, allocations: 0 / 1.22 GB, free: 2.285 MB / 0.92 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.0007931/1.037, allocations: 362.6 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/1.037, allocations: 9.531 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/1.037, allocations: 7.047 kB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/1.037, allocations: 174.6 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/1.037, allocations: 1.469 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/1.037, allocations: 6.75 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/1.037, allocations: 62.91 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/1.038, allocations: 9.266 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/1.038, allocations: 11.88 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.038, allocations: 0.9062 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/1.038, allocations: 67.3 kB / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/1.038, allocations: 262.6 kB / 1.221 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/1.039, allocations: 56.17 kB / 1.221 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/1.039, allocations: 42.59 kB / 1.221 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/1.039, allocations: 5.188 kB / 1.221 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.039, allocations: 34.56 kB / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/1.039, allocations: 1.094 kB / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005481/1.039, allocations: 129 kB / 1.221 GB, free: 1.105 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/1.039, allocations: 52.88 kB / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/1.04, allocations: 107.8 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/1.04, allocations: 29.7 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/1.04, allocations: 81.45 kB / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/1.04, allocations: 17.09 kB / 1.222 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/1.04, allocations: 13.31 kB / 1.222 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002248/1.04, allocations: 324 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/1.04, allocations: 33.19 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/1.04, allocations: 36.92 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/1.041, allocations: 68.17 kB / 1.222 GB, free: 404 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.041, allocations: 3.938 kB / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004662/1.041, allocations: 96.48 kB / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.041, allocations: 5.75 kB / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.041, allocations: 0 / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/1.041, allocations: 1.125 kB / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/1.041, allocations: 17.45 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.041, allocations: 1.094 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/1.041, allocations: 10.64 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/1.041, allocations: 5.219 kB / 1.222 GB, free: 320 kB / 0.92 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.0001581/1.042, allocations: 124.4 kB / 1.222 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/1.042, allocations: 9.031 kB / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/1.042, allocations: 5.062 kB / 1.222 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.042, allocations: 1.094 kB / 1.222 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.042, allocations: 4 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/1.042, allocations: 1.094 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/1.042, allocations: 169 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.042, allocations: 0 / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/1.042, allocations: 18.62 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.042, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/1.042, allocations: 1.297 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.042, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.042, allocations: 1.062 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/1.042, allocations: 203.9 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/1.043, allocations: 86.12 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/1.043, allocations: 5.141 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/1.043, allocations: 10.52 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/1.043, allocations: 10.06 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/1.043, allocations: 0 / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.971e-05/1.043, allocations: 85.7 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.043, allocations: 0 / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002238/1.043, allocations: 10.94 kB / 1.223 GB, free: 15.57 MB / 0.9356 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.0001603/1.043, allocations: 93.12 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004265/1.044, allocations: 70.55 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.044, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/1.044, allocations: 43.73 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/1.044, allocations: 14.59 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/1.045, allocations: 128.6 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/1.045, allocations: 0.6874 MB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.398e-05/1.045, allocations: 1.031 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/1.045, allocations: 8.656 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/1.045, allocations: 1.094 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of Templates: time 0.003739/1.049, allocations: 0.6955 MB / 1.225 GB, free: 14.23 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.179068913683295]