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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007136/0.007136, allocations: 102.3 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 191.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.597/2.597, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.89 kB / 1.054 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001718/1.033, allocations: 0.6979 MB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008253/1.034, allocations: 0.7923 MB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/1.034, allocations: 4 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/1.034, allocations: 3.938 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.418e-05/1.034, allocations: 15.86 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.294e-05/1.034, allocations: 7.984 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/1.035, allocations: 47.86 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/1.035, allocations: 15.98 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/1.035, allocations: 19.92 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/1.035, allocations: 23.91 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/1.035, allocations: 4 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/1.035, allocations: 4 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/1.035, allocations: 7.984 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/1.035, allocations: 19.88 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.143e-05/1.035, allocations: 35.88 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/1.035, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/1.035, allocations: 4 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.327e-06/1.035, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9356 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.0005541/1.036, allocations: 363.2 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/1.036, allocations: 8.031 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/1.036, allocations: 12.78 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.741e-05/1.036, allocations: 162.2 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/1.036, allocations: 4.375 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/1.036, allocations: 4.375 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/1.036, allocations: 70.2 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/1.036, allocations: 192 / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/1.036, allocations: 15.92 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/1.036, allocations: 3.938 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/1.036, allocations: 63.94 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/1.037, allocations: 272.8 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/1.037, allocations: 62.47 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/1.037, allocations: 32.92 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/1.037, allocations: 4 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/1.037, allocations: 38.55 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.037, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005192/1.038, allocations: 125.5 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/1.038, allocations: 59.41 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/1.038, allocations: 109.8 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/1.038, allocations: 25.7 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/1.038, allocations: 92.05 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/1.038, allocations: 11.83 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/1.038, allocations: 13.72 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.038, allocations: 314.8 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/1.038, allocations: 39.95 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/1.038, allocations: 27.97 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/1.039, allocations: 68.78 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.039, allocations: 3.938 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003213/1.039, allocations: 101.6 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.039, allocations: 5.875 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/1.039, allocations: 0 / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/1.039, allocations: 0 / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/1.039, allocations: 19.97 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/1.039, allocations: 0 / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/1.039, allocations: 15.98 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/1.039, allocations: 0 / 1.211 GB, free: 9.59 MB / 0.9356 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 7.073e-05/1.039, allocations: 113.8 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/1.039, allocations: 7.906 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/1.039, allocations: 7.906 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.039, allocations: 0 / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.039, allocations: 0 / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/1.039, allocations: 0 / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/1.04, allocations: 169.6 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.04, allocations: 0 / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.975e-05/1.04, allocations: 23.92 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.04, allocations: 0 / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/1.04, allocations: 4 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/1.04, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.04, allocations: 4 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/1.04, allocations: 199.7 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/1.04, allocations: 84.95 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/1.04, allocations: 0 / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/1.04, allocations: 11.98 kB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/1.04, allocations: 7.984 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/1.04, allocations: 11.94 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.896e-05/1.04, allocations: 83.28 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.04, allocations: 0 / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002324/1.041, allocations: 12 kB / 1.212 GB, free: 8.758 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.0001211/1.041, allocations: 99.23 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003512/1.041, allocations: 71.86 kB / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.041, allocations: 0 / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/1.041, allocations: 35.97 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/1.042, allocations: 11.94 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/1.042, allocations: 129.5 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/1.042, allocations: 0.6807 MB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.42e-05/1.042, allocations: 4 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/1.042, allocations: 11.44 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of SimCode: time 1.623e-06/1.042, allocations: 0 / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.002961/1.045, allocations: 0.6875 MB / 1.214 GB, free: 6.98 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) 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) Reference file matches