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.001321/0.001321, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001478/0.001478, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.62/2.62, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 69.88 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3605, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002688/0.3633, allocations: 0.7077 MB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3645, allocations: 0.8064 MB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.3646, allocations: 0 / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.3647, allocations: 7.938 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.3648, allocations: 3.938 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.894e-05/0.3649, allocations: 15.97 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.365, allocations: 39.86 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3651, allocations: 11.98 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.61e-05/0.3652, allocations: 27.86 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.3653, allocations: 15.92 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.3653, allocations: 4 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.3653, allocations: 8 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.3653, allocations: 7.984 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.3654, allocations: 19.86 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.3655, allocations: 39.88 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3655, allocations: 0 / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3655, allocations: 0 / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3655, allocations: 3.938 kB / 1.028 GB, free: 320 kB / 0.795 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.0006921/0.3662, allocations: 359.4 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.3663, allocations: 16.03 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.3664, allocations: 4.844 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3665, allocations: 168.3 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3666, allocations: 384 / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3666, allocations: 4.375 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.3669, allocations: 70.16 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3669, allocations: 192 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.3669, allocations: 7.938 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3669, allocations: 11.97 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.3672, allocations: 59.94 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.3677, allocations: 264.9 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.3679, allocations: 70.41 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.3681, allocations: 36.92 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3681, allocations: 0 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3682, allocations: 30.56 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.3682, allocations: 0 / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006024/0.3688, allocations: 129.6 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.3689, allocations: 51.41 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.369, allocations: 113.8 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.369, allocations: 25.7 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.3691, allocations: 88.08 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.3692, allocations: 19.73 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.3692, allocations: 13.72 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3693, allocations: 318.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3695, allocations: 31.95 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3696, allocations: 27.97 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.3699, allocations: 72.78 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3699, allocations: 3.938 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002946/0.3702, allocations: 93.62 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3702, allocations: 4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3702, allocations: 4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3703, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.3704, allocations: 19.92 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3704, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.356e-05/0.3705, allocations: 15.97 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3705, allocations: 0 / 1.03 GB, free: 13.99 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.453e-05/0.3706, allocations: 121.7 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.3706, allocations: 3.906 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.3707, allocations: 7.906 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3707, allocations: 4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3707, allocations: 3.938 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3707, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.3709, allocations: 173.6 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3709, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.56e-05/0.371, allocations: 11.98 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.371, allocations: 4 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.371, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.371, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.371, allocations: 4 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.3714, allocations: 199.7 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.3715, allocations: 88.98 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3715, allocations: 4 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.3716, allocations: 11.98 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.3717, allocations: 11.98 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.3717, allocations: 0 / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.3717, allocations: 87.28 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.983e-06/0.3717, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002194/0.3719, allocations: 7.938 kB / 1.031 GB, free: 13.16 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 (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.0001827/0.3721, allocations: 103.2 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.3725, allocations: 67.92 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3725, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3726, allocations: 39.91 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.373, allocations: 11.94 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.3734, allocations: 129.5 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3737, allocations: 0.6807 MB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.919e-05/0.3737, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.3738, allocations: 11.44 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3738, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of Templates: time 0.002966/0.3768, allocations: 0.6793 MB / 1.033 GB, free: 11.39 MB / 0.8106 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 -s cvode -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/jenkins1/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