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.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.001892/0.001892, allocations: 110.2 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.002033/0.002033, allocations: 188 kB / 22.23 MB, free: 5.164 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.432/1.432, 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 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.211/3.211, allocations: 0.4893 GB / 0.7884 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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 0.001891/0.001891, allocations: 71.42 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3632, allocations: 174.9 MB / 1.316 GB, free: 9.699 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002062/0.3653, allocations: 0.7117 MB / 1.317 GB, free: 8.988 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.3663, allocations: 0.8083 MB / 1.318 GB, free: 8.168 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.3663, allocations: 4 kB / 1.318 GB, free: 8.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.3663, allocations: 7.922 kB / 1.318 GB, free: 8.156 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.3664, allocations: 3.938 kB / 1.318 GB, free: 8.152 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.183e-05/0.3665, allocations: 15.98 kB / 1.318 GB, free: 8.137 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.3666, allocations: 39.86 kB / 1.318 GB, free: 8.098 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3667, allocations: 11.98 kB / 1.318 GB, free: 8.086 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-05/0.3668, allocations: 15.92 kB / 1.318 GB, free: 8.07 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.3668, allocations: 27.91 kB / 1.318 GB, free: 8.043 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3668, allocations: 4 kB / 1.318 GB, free: 8.039 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-06/0.3668, allocations: 3.938 kB / 1.318 GB, free: 8.035 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.3669, allocations: 12 kB / 1.318 GB, free: 8.023 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.3669, allocations: 15.92 kB / 1.318 GB, free: 8.008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.367, allocations: 43.75 kB / 1.318 GB, free: 7.965 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.367, allocations: 4 kB / 1.318 GB, free: 7.961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.744e-06/0.367, allocations: 0 / 1.318 GB, free: 7.961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.367, allocations: 0 / 1.318 GB, free: 7.961 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.0005758/0.3676, allocations: 278.3 kB / 1.318 GB, free: 7.656 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3676, allocations: 12.03 kB / 1.318 GB, free: 7.645 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.3677, allocations: 12.88 kB / 1.318 GB, free: 7.633 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3678, allocations: 114.5 kB / 1.318 GB, free: 7.496 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3678, allocations: 4.375 kB / 1.318 GB, free: 7.492 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.3678, allocations: 384 / 1.318 GB, free: 7.492 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.3681, allocations: 74.16 kB / 1.318 GB, free: 7.414 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3681, allocations: 192 / 1.318 GB, free: 7.414 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3681, allocations: 3.938 kB / 1.318 GB, free: 7.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.3681, allocations: 0 / 1.318 GB, free: 7.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.3684, allocations: 71.91 kB / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.3688, allocations: 236 kB / 1.319 GB, free: 7.066 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.369, allocations: 66.42 kB / 1.319 GB, free: 6.992 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.3692, allocations: 36.91 kB / 1.319 GB, free: 6.953 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.3692, allocations: 0 / 1.319 GB, free: 6.953 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.3692, allocations: 34.56 kB / 1.319 GB, free: 6.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.3692, allocations: 0 / 1.319 GB, free: 6.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.000514/0.3697, allocations: 129.6 kB / 1.319 GB, free: 6.777 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3698, allocations: 51.41 kB / 1.319 GB, free: 6.715 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.3699, allocations: 109.8 kB / 1.319 GB, free: 6.598 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.3699, allocations: 25.7 kB / 1.319 GB, free: 6.566 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.37, allocations: 96.03 kB / 1.319 GB, free: 6.469 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.37, allocations: 7.891 kB / 1.319 GB, free: 6.461 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.37, allocations: 17.72 kB / 1.319 GB, free: 6.438 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3702, allocations: 318.8 kB / 1.319 GB, free: 6.117 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3703, allocations: 31.97 kB / 1.319 GB, free: 6.086 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3704, allocations: 31.95 kB / 1.319 GB, free: 6.055 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.3707, allocations: 68.8 kB / 1.32 GB, free: 5.984 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3707, allocations: 7.875 kB / 1.32 GB, free: 5.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002996/0.371, allocations: 101.6 kB / 1.32 GB, free: 5.871 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.371, allocations: 4 kB / 1.32 GB, free: 5.867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.371, allocations: 0 / 1.32 GB, free: 5.867 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.371, allocations: 0 / 1.32 GB, free: 5.867 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3711, allocations: 23.92 kB / 1.32 GB, free: 5.844 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3711, allocations: 0 / 1.32 GB, free: 5.844 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.3712, allocations: 11.98 kB / 1.32 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3712, allocations: 0 / 1.32 GB, free: 5.832 MB / 1.014 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 8.7e-05/0.3713, allocations: 115.2 kB / 1.32 GB, free: 5.711 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.3713, allocations: 7.984 kB / 1.32 GB, free: 5.703 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.3713, allocations: 8 kB / 1.32 GB, free: 5.684 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3713, allocations: 4 kB / 1.32 GB, free: 5.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3713, allocations: 0 / 1.32 GB, free: 5.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3714, allocations: 4 kB / 1.32 GB, free: 5.676 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.3715, allocations: 144.6 kB / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3715, allocations: 0 / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.194e-05/0.3716, allocations: 15.97 kB / 1.32 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3716, allocations: 0 / 1.32 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3716, allocations: 0 / 1.32 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3716, allocations: 4 kB / 1.32 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3716, allocations: 0 / 1.32 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.372, allocations: 203.6 kB / 1.32 GB, free: 5.258 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.372, allocations: 0 / 1.32 GB, free: 5.258 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.372, allocations: 0 / 1.32 GB, free: 5.258 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3721, allocations: 19.97 kB / 1.32 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.3722, allocations: 12.03 kB / 1.32 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.3722, allocations: 0 / 1.32 GB, free: 5.227 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.3722, allocations: 87.27 kB / 1.32 GB, free: 5.141 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3722, allocations: 0 / 1.32 GB, free: 5.141 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002072/0.3724, allocations: 8 kB / 1.32 GB, free: 5.133 MB / 1.014 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.000121/0.3726, allocations: 91.25 kB / 1.32 GB, free: 5.035 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.3729, allocations: 71.92 kB / 1.32 GB, free: 4.965 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3729, allocations: 0 / 1.32 GB, free: 4.965 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.373, allocations: 39.89 kB / 1.32 GB, free: 4.926 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3734, allocations: 19.81 kB / 1.32 GB, free: 4.906 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.3737, allocations: 133.3 kB / 1.321 GB, free: 4.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.374, allocations: 0.6768 MB / 1.321 GB, free: 4.047 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.374, allocations: 7.984 kB / 1.321 GB, free: 4.039 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.3741, allocations: 7.438 kB / 1.321 GB, free: 4.031 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.3741, allocations: 0 / 1.321 GB, free: 4.031 MB / 1.014 GB Notification: Performance of Templates: time 0.003228/0.3773, allocations: 0.6916 MB / 1.322 GB, free: 3.348 MB / 1.014 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.111120692454278]