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.001577/0.001577, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 196.3 kB / 16.79 MB, free: 6.832 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.467/1.467, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.909/2.909, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 73.44 kB / 0.8991 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3072, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002011/0.3093, allocations: 0.7671 MB / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009022/0.3102, allocations: 0.8001 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.3103, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.3103, allocations: 3.938 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.3104, allocations: 7.875 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.417e-05/0.3105, allocations: 15.98 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.693e-05/0.3105, allocations: 35.92 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3106, allocations: 15.97 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.3107, allocations: 19.92 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.3108, allocations: 23.86 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3108, allocations: 4 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.3108, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.3108, allocations: 3.984 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.3109, allocations: 15.88 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.417e-05/0.3109, allocations: 35.94 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3109, allocations: 0 / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3109, allocations: 0 / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.311, allocations: 0 / 1.054 GB, free: 6.547 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.0005533/0.3115, allocations: 363.6 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3116, allocations: 11.97 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.3116, allocations: 4.938 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3117, allocations: 180.2 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.3117, allocations: 384 / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3118, allocations: 4.375 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.312, allocations: 70.22 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.312, allocations: 4.172 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.312, allocations: 7.938 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3121, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.3123, allocations: 63.92 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.3127, allocations: 268.9 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.3129, allocations: 62.47 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3131, allocations: 36.92 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.3131, allocations: 0 / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3131, allocations: 34.56 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3131, allocations: 0 / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005371/0.3137, allocations: 133.4 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.3137, allocations: 51.41 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3138, allocations: 117.8 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3139, allocations: 25.7 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.3139, allocations: 84.14 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3139, allocations: 11.81 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.314, allocations: 17.64 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3141, allocations: 318.8 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3143, allocations: 31.97 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3144, allocations: 31.95 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.3147, allocations: 68.78 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3147, allocations: 3.938 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000327/0.315, allocations: 101.6 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.315, allocations: 5.25 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.315, allocations: 0 / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3151, allocations: 0 / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3152, allocations: 19.92 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3152, allocations: 4 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.019e-05/0.3153, allocations: 11.98 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3153, allocations: 4 kB / 1.057 GB, free: 4.211 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 7.617e-05/0.3154, allocations: 121.8 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.3154, allocations: 3.906 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.3155, allocations: 3.906 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3155, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3155, allocations: 4 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3155, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.3156, allocations: 169.6 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3157, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3158, allocations: 19.97 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3158, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3158, allocations: 7.938 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3158, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3158, allocations: 336 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.3162, allocations: 199.4 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.3162, allocations: 88.94 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3162, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3163, allocations: 11.98 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.3164, allocations: 8 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.3164, allocations: 0 / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.3165, allocations: 83.58 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3165, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002214/0.3167, allocations: 16 kB / 1.057 GB, free: 3.391 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.0001519/0.3168, allocations: 103.2 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.3172, allocations: 67.86 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3172, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.3173, allocations: 39.95 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.3176, allocations: 7.938 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.318, allocations: 164.8 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.3183, allocations: 0.6809 MB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.3183, allocations: 11.44 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.3183, allocations: 0 / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of Templates: time 0.001959/0.3203, allocations: 0.7344 MB / 1.059 GB, free: 1.523 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 -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