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.001197/0.001197, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001027/0.001027, allocations: 189.8 kB / 16.25 MB, free: 6.621 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.215/1.215, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.311/2.311, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.483, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001682/0.4848, allocations: 0.7721 MB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006842/0.4855, allocations: 0.8001 MB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.4855, allocations: 0 / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.4855, allocations: 0 / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.4856, allocations: 7.938 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.585e-05/0.4856, allocations: 7.984 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.516e-05/0.4857, allocations: 43.8 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.4858, allocations: 19.98 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.4859, allocations: 12 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.544e-05/0.4859, allocations: 19.91 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.4859, allocations: 4 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-06/0.4859, allocations: 7.938 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.486, allocations: 11.98 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.486, allocations: 11.92 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.995e-05/0.4861, allocations: 43.88 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.4861, allocations: 3.938 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4861, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.4861, allocations: 4 kB / 1.019 GB, free: 0.8945 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.0004428/0.4865, allocations: 365.5 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.4866, allocations: 12.02 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.877e-05/0.4866, allocations: 30.75 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.4866, allocations: 8.938 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.639e-05/0.4867, allocations: 168.3 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.4867, allocations: 4.375 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.4868, allocations: 8.312 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.487, allocations: 70.16 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.487, allocations: 11.91 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.487, allocations: 0 / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.487, allocations: 4 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.4873, allocations: 63.94 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.4876, allocations: 268.9 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.4878, allocations: 58.47 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.4879, allocations: 36.92 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.4879, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.4879, allocations: 38.56 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.4879, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004669/0.4884, allocations: 133.5 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.4884, allocations: 55.34 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.4885, allocations: 105.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4885, allocations: 25.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.4886, allocations: 88.14 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.4886, allocations: 11.83 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.4886, allocations: 17.72 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.4887, allocations: 310.8 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.4889, allocations: 39.95 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.489, allocations: 27.97 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.4892, allocations: 72.72 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4893, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000283/0.4895, allocations: 101.5 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.4896, allocations: 4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4896, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.4896, allocations: 3.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.4897, allocations: 15.98 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.4897, allocations: 7.984 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.4898, allocations: 11.98 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4898, allocations: 4 kB / 1.021 GB, free: 14.52 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.179e-05/0.4899, allocations: 110.3 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.4899, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.4899, allocations: 7.906 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4899, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4899, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.49, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.4901, allocations: 181.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4901, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.924e-05/0.4902, allocations: 15.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4902, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.4902, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4902, allocations: 3.938 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4902, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.4906, allocations: 203.7 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.4906, allocations: 77.11 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.4906, allocations: 4 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4907, allocations: 11.98 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.4908, allocations: 3.984 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.4908, allocations: 4 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.4908, allocations: 87.28 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4908, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002051/0.491, allocations: 8 kB / 1.021 GB, free: 13.7 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.000567/0.4916, allocations: 0.7357 MB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002977/0.4919, allocations: 67.92 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4919, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.4921, allocations: 35.95 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.4923, allocations: 12 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.4927, allocations: 167.2 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.4929, allocations: 0.6807 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.493, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.493, allocations: 15.38 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.493, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00983/0.5028, allocations: 1.414 MB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.503, allocations: 200.2 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.14, allocations: 0 / 1.025 GB, free: 10.34 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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