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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_10_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.001241/0.001241, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001298/0.001298, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9748/0.9763, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.00206/0.9784, allocations: 0.7083 MB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.9795, allocations: 0.804 MB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.9795, allocations: 0 / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.9796, allocations: 7.938 kB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.9797, allocations: 3.938 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.871e-05/0.9798, allocations: 15.98 kB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.337e-05/0.9799, allocations: 43.84 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.98, allocations: 11.98 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.9801, allocations: 19.92 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.9801, allocations: 19.92 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.9802, allocations: 4 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-06/0.9802, allocations: 8 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.9802, allocations: 11.92 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.9802, allocations: 11.94 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.9803, allocations: 39.88 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9804, allocations: 3.984 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9804, allocations: 0 / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.9804, allocations: 0 / 1.169 GB, free: 2.168 MB / 0.8887 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.0005807/0.981, allocations: 367.2 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.981, allocations: 12.92 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.9811, allocations: 8.844 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.9812, allocations: 170.1 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.9812, allocations: 4.375 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.9813, allocations: 384 / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.9815, allocations: 70.2 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.9815, allocations: 192 / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.9816, allocations: 7.938 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.9816, allocations: 0 / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.9819, allocations: 67.92 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.9822, allocations: 272.8 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.9825, allocations: 62.48 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.9826, allocations: 39.34 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.9826, allocations: 0 / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.9827, allocations: 34.56 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.9827, allocations: 0 / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005428/0.9832, allocations: 133.5 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.9833, allocations: 51.41 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/0.9834, allocations: 105.8 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.9834, allocations: 25.7 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.9834, allocations: 96.03 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.9835, allocations: 11.84 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.9835, allocations: 17.72 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9836, allocations: 314.8 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.9838, allocations: 31.95 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.9839, allocations: 27.97 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.9842, allocations: 72.84 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9842, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003272/0.9846, allocations: 105.4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.9846, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.9846, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.9846, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.9848, allocations: 19.97 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.9848, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.499e-05/0.9849, allocations: 15.98 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.9849, allocations: 3.938 kB / 1.171 GB, free: 15.84 MB / 0.9044 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.892e-05/0.985, allocations: 112.8 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.985, allocations: 11.91 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.9851, allocations: 7.891 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.9851, allocations: 4 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9851, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.9851, allocations: 81.11 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.9851, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.9853, allocations: 7.984 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.9853, allocations: 15.92 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004161/0.9857, allocations: 184.8 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003976/0.9861, allocations: 270.7 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001587/0.9863, allocations: 35.97 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.9864, allocations: 91.58 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of Backend: time 2.91e-07/0.9864, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005014/0.9869, allocations: 117.1 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006024/0.9875, allocations: 0.5739 MB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.003181/0.9907, allocations: 0.8532 MB / 1.173 GB, free: 13.39 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches