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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 108 kB / 15.6 MB, free: 132 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.001844/0.001844, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.417/2.417, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 75.89 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/0.5133, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001842/0.5152, allocations: 0.6904 MB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008156/0.516, allocations: 0.8079 MB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.5161, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.5161, allocations: 3.938 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.5162, allocations: 3.938 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.371e-05/0.5162, allocations: 7.984 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.5163, allocations: 51.84 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.5164, allocations: 8 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.5165, allocations: 19.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.5165, allocations: 27.89 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.5166, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.5166, allocations: 7.938 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.5166, allocations: 4 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.5166, allocations: 19.92 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.972e-05/0.5167, allocations: 39.88 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5167, allocations: 3.938 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5167, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.5167, allocations: 0 / 1.019 GB, free: 0.7578 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.0004848/0.5172, allocations: 365.5 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.5173, allocations: 8.031 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.5173, allocations: 34.75 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.5173, allocations: 8.922 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.609e-05/0.5174, allocations: 168.3 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.5175, allocations: 4.312 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.5175, allocations: 4.359 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.5177, allocations: 74.22 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.5177, allocations: 4.141 kB / 1.02 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5178, allocations: 3.938 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.5178, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.5181, allocations: 63.92 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.5184, allocations: 269 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.5186, allocations: 62.47 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.5187, allocations: 36.92 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.5187, allocations: 7.938 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.5188, allocations: 34.56 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.5188, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005222/0.5193, allocations: 129.5 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.5193, allocations: 55.41 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.801e-05/0.5194, allocations: 113.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.5194, allocations: 25.7 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.5195, allocations: 84.14 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.5195, allocations: 11.84 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.5195, allocations: 17.7 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.5196, allocations: 314.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.5198, allocations: 35.91 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.5199, allocations: 35.95 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.5202, allocations: 68.78 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5202, allocations: 3.938 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003114/0.5205, allocations: 101.5 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5205, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5206, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.5206, allocations: 3.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.5207, allocations: 19.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5207, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.5208, allocations: 15.98 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.5208, allocations: 7.922 kB / 1.021 GB, free: 14.37 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 6.261e-05/0.5209, allocations: 113.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.5209, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.5209, allocations: 7.906 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.5209, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5209, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5209, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.5211, allocations: 173.8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5211, allocations: 7.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.256e-05/0.5212, allocations: 11.98 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5212, allocations: 3.938 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.5212, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5212, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5212, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.5216, allocations: 199.4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.5216, allocations: 85.03 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.5216, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.5218, allocations: 11.98 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.5218, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.5218, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.5219, allocations: 87.27 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5219, allocations: 8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002138/0.5221, allocations: 4 kB / 1.022 GB, free: 13.56 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.0005911/0.5227, allocations: 0.7343 MB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.523, allocations: 75.86 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.523, allocations: 0 / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.5232, allocations: 31.97 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.5235, allocations: 13.86 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.5239, allocations: 155.2 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.5241, allocations: 0.6807 MB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.5241, allocations: 0 / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.5242, allocations: 23.38 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5242, allocations: 0 / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.54, allocations: 1.592 MB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/7.165, allocations: 14.69 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv","/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