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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008143/0.0008143, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008516/0.0008516, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.989/2.989, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004867, allocations: 10.78 kB / 0.9022 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.405, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001233/0.4063, allocations: 424.6 kB / 1.058 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.4075, allocations: 0.8002 MB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.4076, allocations: 4 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.4076, allocations: 0 / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.905e-05/0.4077, allocations: 7.922 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.794e-05/0.4078, allocations: 7.938 kB / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.4079, allocations: 43.84 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.4081, allocations: 8 kB / 1.059 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.4082, allocations: 15.92 kB / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.4082, allocations: 15.92 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.4083, allocations: 4 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.4083, allocations: 0 / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.4083, allocations: 15.97 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.4083, allocations: 25.7 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.554e-05/0.4084, allocations: 27.94 kB / 1.059 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4084, allocations: 0 / 1.059 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4084, allocations: 4 kB / 1.059 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.4085, allocations: 0 / 1.059 GB, free: 3.875 MB / 0.8106 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.0006297/0.4091, allocations: 371.4 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.4092, allocations: 11.97 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.4092, allocations: 7.984 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.4094, allocations: 167 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.4094, allocations: 0 / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.4094, allocations: 7.953 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.4097, allocations: 77.66 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.4098, allocations: 0 / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4098, allocations: 4 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4098, allocations: 0 / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.4101, allocations: 87.92 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.4105, allocations: 272.8 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.4108, allocations: 70.52 kB / 1.06 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.4109, allocations: 48.92 kB / 1.06 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.4109, allocations: 0 / 1.06 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.411, allocations: 42.56 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.411, allocations: 0 / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005232/0.4115, allocations: 161.5 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.4116, allocations: 51.41 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.4117, allocations: 113.8 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.4117, allocations: 25.7 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.4117, allocations: 91.98 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.4118, allocations: 3.906 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.4118, allocations: 3.938 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4119, allocations: 326.8 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4121, allocations: 43.97 kB / 1.061 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.4122, allocations: 39.95 kB / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.4123, allocations: 43.97 kB / 1.061 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4124, allocations: 0 / 1.061 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003111/0.4127, allocations: 121.6 kB / 1.061 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4127, allocations: 4 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4127, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4127, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.4129, allocations: 27.97 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4129, allocations: 0 / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.413, allocations: 15.98 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.413, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.998e-05/0.4131, allocations: 117.8 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.4131, allocations: 7.906 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.4132, allocations: 7.906 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4132, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4132, allocations: 3.984 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4132, allocations: 0 / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.4134, allocations: 173.6 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4134, allocations: 0 / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.173e-05/0.4135, allocations: 19.98 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4135, allocations: 0 / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.4135, allocations: 4 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4135, allocations: 0 / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4135, allocations: 3.938 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.4139, allocations: 215.5 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.414, allocations: 92.91 kB / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.414, allocations: 0 / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4141, allocations: 19.98 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.4142, allocations: 7.984 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.4142, allocations: 4 kB / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.4142, allocations: 83.27 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4142, allocations: 0 / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002193/0.4145, allocations: 12 kB / 1.062 GB, free: 0.6055 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001576/0.4146, allocations: 99.56 kB / 1.062 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.415, allocations: 95.86 kB / 1.062 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.415, allocations: 4 kB / 1.062 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.4151, allocations: 40.06 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.4154, allocations: 18.17 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.4158, allocations: 136.6 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.4161, allocations: 0.677 MB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.753e-05/0.4161, allocations: 4 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.4162, allocations: 7.438 kB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.4162, allocations: 0 / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of Templates: time 0.00278/0.419, allocations: 0.524 MB / 1.064 GB, free: 14.95 MB / 0.8262 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