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.001668/0.001668, allocations: 108 kB / 15.61 MB, free: 152 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.001905/0.001905, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.502/1.502, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.786/2.786, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.89 kB / 0.8693 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7032/0.7051, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002177/0.7074, allocations: 0.7 MB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.7084, allocations: 0.8001 MB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.7084, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.7085, allocations: 3.938 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.766e-05/0.7086, allocations: 15.86 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.109e-05/0.7086, allocations: 7.984 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.7087, allocations: 51.84 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.7089, allocations: 8 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.226e-05/0.7089, allocations: 15.98 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.709, allocations: 19.91 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.709, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.709, allocations: 11.88 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.7091, allocations: 8 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.7091, allocations: 15.92 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.027e-05/0.7092, allocations: 43.86 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.7092, allocations: 7.938 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7092, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.7092, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 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.0005988/0.7098, allocations: 365.3 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.7099, allocations: 8.031 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.7099, allocations: 4.922 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.7101, allocations: 176.2 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.7101, allocations: 8.375 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.7101, allocations: 4.375 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.7104, allocations: 62.22 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7104, allocations: 192 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.7104, allocations: 7.938 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.7104, allocations: 0 / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.7107, allocations: 67.92 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.7112, allocations: 264.9 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.7114, allocations: 58.47 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.7116, allocations: 40.92 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.7116, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.7116, allocations: 34.56 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.7116, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005649/0.7122, allocations: 137.4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.7122, allocations: 59.41 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.7123, allocations: 105.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.7124, allocations: 25.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.7124, allocations: 88.14 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.7125, allocations: 7.844 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.7125, allocations: 17.7 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7126, allocations: 318.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.7128, allocations: 27.97 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.7129, allocations: 35.95 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.7132, allocations: 73.05 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7132, allocations: 3.938 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003257/0.7136, allocations: 101.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.7136, allocations: 8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7136, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.7136, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.7138, allocations: 15.92 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7138, allocations: 8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.7139, allocations: 11.92 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.7139, allocations: 7.984 kB / 1.021 GB, free: 14.4 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/0.714, allocations: 113.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.714, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.714, allocations: 7.906 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.714, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.714, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7141, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.7142, allocations: 169.6 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.7143, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.7144, allocations: 15.98 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7144, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.7144, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7144, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7144, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.7148, allocations: 195.3 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/0.7149, allocations: 85.09 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.7149, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.715, allocations: 15.98 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.715, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.715, allocations: 4 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.585e-05/0.7151, allocations: 91.27 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7151, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002121/0.7153, allocations: 8 kB / 1.022 GB, free: 13.59 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 (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.000148/0.7155, allocations: 95.25 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.7158, allocations: 75.86 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7159, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.716, allocations: 35.95 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.7163, allocations: 13.34 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.7167, allocations: 137.5 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.717, allocations: 0.6807 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.717, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.7171, allocations: 7.438 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7171, allocations: 3.938 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of Templates: time 0.003157/0.7202, allocations: 0.6805 MB / 1.023 GB, free: 11.81 MB / 0.7794 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/jenkins/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