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.001257/0.001257, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.001397/0.001397, allocations: 177.3 kB / 15.94 MB, free: 228 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.492/1.492, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 8 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8283/0.8287, allocations: 153.7 MB / 1.021 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001012/0.8298, allocations: 430.2 kB / 1.021 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.8307, allocations: 0.8002 MB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.8307, allocations: 0 / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.8308, allocations: 0 / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.59e-05/0.8309, allocations: 15.83 kB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.54e-05/0.8309, allocations: 8 kB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.831, allocations: 19.97 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.8311, allocations: 7.984 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.8312, allocations: 19.92 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.8313, allocations: 19.92 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.8313, allocations: 4 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-06/0.8313, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.8313, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.8314, allocations: 33.7 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.85e-05/0.8314, allocations: 27.91 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.8314, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8314, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.8315, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 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.0005314/0.832, allocations: 373.3 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.832, allocations: 15.98 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.8321, allocations: 7.844 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.8322, allocations: 163.1 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.8322, allocations: 4 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.8323, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.8325, allocations: 89.59 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.8325, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.8326, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.8326, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.8329, allocations: 87.92 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.8333, allocations: 276.8 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.8335, allocations: 62.55 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.8335, allocations: 4 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.8335, allocations: 30.56 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8335, allocations: 3.938 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000565/0.8341, allocations: 161.6 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.8342, allocations: 59.41 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.8343, allocations: 109.8 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.8343, allocations: 25.7 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.8344, allocations: 84.14 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.8344, allocations: 15.75 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.8344, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8345, allocations: 314.8 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.8347, allocations: 43.97 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.8348, allocations: 43.95 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.835, allocations: 43.97 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.835, allocations: 0 / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003309/0.8353, allocations: 121.8 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.8353, allocations: 8 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.8354, allocations: 3.984 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8354, allocations: 0 / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.8355, allocations: 27.97 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.8355, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.8356, allocations: 19.98 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.8357, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.7794 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 8.659e-05/0.8357, allocations: 105.8 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.8358, allocations: 15.86 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.8358, allocations: 11.84 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.8358, allocations: 3.984 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8358, allocations: 4 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.8358, allocations: 0 / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.836, allocations: 165.7 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.836, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.482e-05/0.8361, allocations: 15.98 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.8362, allocations: 11.95 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.8362, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.8362, allocations: 7.984 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.8362, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.8366, allocations: 215.4 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.8366, allocations: 81.02 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.8366, allocations: 3.953 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.8368, allocations: 19.98 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.8368, allocations: 7.984 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.8368, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.8369, allocations: 95.56 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8369, allocations: 0 / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002058/0.8371, allocations: 7.938 kB / 1.025 GB, free: 12.61 MB / 0.7794 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.000143/0.8372, allocations: 99.25 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.8376, allocations: 91.86 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8376, allocations: 4 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.8378, allocations: 47.97 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.838, allocations: 7.984 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.8383, allocations: 132.6 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.8386, allocations: 0.6809 MB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.441e-05/0.8387, allocations: 3.984 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.8387, allocations: 11.44 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8387, allocations: 0 / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of Templates: time 0.002507/0.8412, allocations: 0.5103 MB / 1.027 GB, free: 10.97 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches