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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001552/0.001552, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001702/0.001702, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.297/2.297, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/0.5331, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002/0.5352, allocations: 0.7669 MB / 1.017 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008749/0.5361, allocations: 0.8 MB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.5361, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.513e-05/0.5362, allocations: 3.938 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.5363, allocations: 11.92 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.614e-05/0.5363, allocations: 11.98 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.37e-05/0.5364, allocations: 39.86 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.5365, allocations: 15.98 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/0.5366, allocations: 19.92 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.5367, allocations: 15.92 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.5367, allocations: 4 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.078e-06/0.5367, allocations: 0 / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.5367, allocations: 3.984 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.5368, allocations: 19.88 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.721e-05/0.5368, allocations: 39.86 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5369, allocations: 0 / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.31e-07/0.5369, allocations: 4 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.5369, allocations: 0 / 1.018 GB, free: 0.9766 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.0005014/0.5374, allocations: 369.6 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5374, allocations: 12.03 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.5375, allocations: 34.69 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.5375, allocations: 0.9375 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.5376, allocations: 172.3 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5376, allocations: 8.375 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.5376, allocations: 4.375 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.5379, allocations: 66.22 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5379, allocations: 7.922 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.5379, allocations: 0 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.5379, allocations: 0 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.5382, allocations: 67.92 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.5385, allocations: 269 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.5387, allocations: 50.55 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.5389, allocations: 44.91 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.5389, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.539, allocations: 30.56 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.539, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000559/0.5395, allocations: 137.4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.5396, allocations: 59.39 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.5397, allocations: 101.9 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.5397, allocations: 25.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.5398, allocations: 92.12 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.5398, allocations: 11.75 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.5398, allocations: 17.55 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.54, allocations: 326.8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.5401, allocations: 27.97 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.5403, allocations: 31.97 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.5405, allocations: 68.72 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5405, allocations: 4 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002938/0.5408, allocations: 97.56 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5409, allocations: 8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5409, allocations: 3.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5409, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.541, allocations: 15.98 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.541, allocations: 8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.5411, allocations: 7.984 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.5411, allocations: 0 / 1.021 GB, free: 14.61 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.451e-05/0.5412, allocations: 118.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.5413, allocations: 7.906 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.5413, allocations: 11.89 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5413, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5413, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5413, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.5415, allocations: 165.6 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5415, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.957e-05/0.5416, allocations: 19.92 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.5416, allocations: 3.984 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.5416, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5416, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5416, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.542, allocations: 195.7 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.542, allocations: 85.02 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.5421, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.5422, allocations: 19.97 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.5422, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.5422, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.777e-05/0.5423, allocations: 99.25 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.754e-06/0.5423, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000212/0.5425, allocations: 11.94 kB / 1.021 GB, free: 13.78 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.0006781/0.5432, allocations: 0.7319 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.5435, allocations: 63.92 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5435, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.5437, allocations: 39.91 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.544, allocations: 10.44 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.5445, allocations: 168.8 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.5448, allocations: 0.677 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.154e-05/0.5448, allocations: 11.98 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.5449, allocations: 11.44 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.5449, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.5555, allocations: 1.36 MB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.5557, allocations: 202.7 kB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.111, allocations: 0 / 1.024 GB, free: 10.45 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