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.001321/0.001322, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001256/0.001256, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.499/2.499, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002026, allocations: 67.17 kB / 0.8699 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3512, allocations: 151.6 MB / 1.018 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002079/0.3533, allocations: 0.6924 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.3543, allocations: 0.8079 MB / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.3544, allocations: 0 / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.3544, allocations: 3.938 kB / 1.019 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.3545, allocations: 3.938 kB / 1.019 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.868e-05/0.3546, allocations: 15.98 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.051e-05/0.3547, allocations: 43.84 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3548, allocations: 15.92 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.3548, allocations: 15.98 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.3549, allocations: 27.86 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3549, allocations: 4 kB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.3549, allocations: 4 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.355, allocations: 7.984 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.355, allocations: 11.94 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.427e-05/0.3551, allocations: 47.8 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3551, allocations: 0 / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3551, allocations: 0 / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3551, allocations: 0 / 1.02 GB, free: 8.852 MB / 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.0005872/0.3557, allocations: 373.6 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3558, allocations: 8.922 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.3558, allocations: 4.938 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3559, allocations: 176.2 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.356, allocations: 384 / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.356, allocations: 4.359 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.3563, allocations: 82.14 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3563, allocations: 4.188 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3563, allocations: 3.938 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3563, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.3566, allocations: 63.92 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.357, allocations: 261 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.3572, allocations: 66.41 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.3574, allocations: 36.92 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.3574, allocations: 0 / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3574, allocations: 38.55 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3574, allocations: 0 / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005622/0.358, allocations: 125.5 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3581, allocations: 51.41 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.3582, allocations: 113.8 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3582, allocations: 33.7 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.3582, allocations: 84.12 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.3583, allocations: 15.81 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.3583, allocations: 13.66 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3585, allocations: 318.8 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3586, allocations: 31.95 kB / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.3588, allocations: 27.97 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.3591, allocations: 68.78 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3591, allocations: 3.938 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003393/0.3594, allocations: 105.6 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3594, allocations: 4 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3595, allocations: 0 / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3595, allocations: 0 / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3596, allocations: 23.91 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3596, allocations: 0 / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.3597, allocations: 11.98 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.3597, allocations: 0 / 1.022 GB, free: 6.516 MB / 0.795 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.579e-05/0.3598, allocations: 121.8 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.3598, allocations: 3.906 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.3599, allocations: 3.906 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3599, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3599, allocations: 4 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3599, allocations: 3.984 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.3601, allocations: 169.6 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3601, allocations: 336 / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.3602, allocations: 11.98 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3602, allocations: 4 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.3602, allocations: 4 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3602, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3602, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.3606, allocations: 203.3 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.3607, allocations: 88.95 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.3607, allocations: 4 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3608, allocations: 11.98 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.3609, allocations: 7.984 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.3609, allocations: 4 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.3609, allocations: 79.28 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3609, allocations: 0 / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002141/0.3612, allocations: 12 kB / 1.022 GB, free: 5.695 MB / 0.795 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.0001452/0.3613, allocations: 107.2 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.3617, allocations: 63.92 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3617, allocations: 3.938 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.3618, allocations: 39.91 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3621, allocations: 15.92 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.3625, allocations: 151.2 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3628, allocations: 0.6807 MB / 1.023 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.3628, allocations: 11.44 kB / 1.023 GB, free: 4.559 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3628, allocations: 0 / 1.023 GB, free: 4.559 MB / 0.795 GB Notification: Performance of Templates: time 0.002164/0.365, allocations: 0.7309 MB / 1.024 GB, free: 3.836 MB / 0.795 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=400 -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