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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_latest_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.001292/0.001292, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001196/0.001196, allocations: 192.7 kB / 16.13 MB, free: 6.645 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.187/1.187, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.386/2.386, allocations: 461.9 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 73.81 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2205, allocations: 157.4 MB / 1.052 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001712/0.2223, allocations: 0.7651 MB / 1.053 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006545/0.2229, allocations: 0.8118 MB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.223, allocations: 3.938 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.223, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.2231, allocations: 3.938 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.468e-05/0.2231, allocations: 11.98 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.2232, allocations: 39.86 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.998e-05/0.2233, allocations: 15.97 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.038e-05/0.2233, allocations: 19.98 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.2234, allocations: 19.86 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2234, allocations: 4 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-06/0.2234, allocations: 0 / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.2234, allocations: 7.984 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.2234, allocations: 11.94 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.068e-05/0.2235, allocations: 35.81 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.2235, allocations: 7.938 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.81e-07/0.2235, allocations: 0 / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.816e-06/0.2235, allocations: 3.938 kB / 1.054 GB, free: 6.363 MB / 0.8106 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.0004306/0.224, allocations: 363.7 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.224, allocations: 15.97 kB / 1.054 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.224, allocations: 30.75 kB / 1.054 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.961e-05/0.2241, allocations: 4.844 kB / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.67e-05/0.2241, allocations: 172.3 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.2242, allocations: 4.375 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.2242, allocations: 8.359 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.2244, allocations: 70.22 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.2244, allocations: 3.938 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.2244, allocations: 0 / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.2244, allocations: 0 / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.2247, allocations: 67.86 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.225, allocations: 272.8 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.2252, allocations: 54.53 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.2253, allocations: 40.91 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.2253, allocations: 0 / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.2254, allocations: 38.5 kB / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.2254, allocations: 0 / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004531/0.2258, allocations: 125.6 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2259, allocations: 55.41 kB / 1.055 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.2259, allocations: 109.8 kB / 1.055 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2259, allocations: 25.7 kB / 1.055 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.226, allocations: 92.12 kB / 1.055 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.226, allocations: 7.812 kB / 1.055 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.226, allocations: 17.72 kB / 1.055 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.2261, allocations: 314.8 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.2263, allocations: 31.97 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.2264, allocations: 31.97 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.2266, allocations: 72.66 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2266, allocations: 0 / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002786/0.2269, allocations: 101.6 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2269, allocations: 9.406 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2269, allocations: 0 / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.227, allocations: 3.984 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.2271, allocations: 11.98 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2271, allocations: 4 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.2272, allocations: 7.984 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2272, allocations: 4 kB / 1.056 GB, free: 4 MB / 0.8106 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 5.958e-05/0.2272, allocations: 117.8 kB / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.2273, allocations: 3.906 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.2273, allocations: 19.83 kB / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.2273, allocations: 3.938 kB / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.2273, allocations: 0 / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.2273, allocations: 0 / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.2274, allocations: 165.6 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2275, allocations: 0 / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.244e-05/0.2276, allocations: 27.98 kB / 1.056 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2276, allocations: 0 / 1.056 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.2276, allocations: 3.984 kB / 1.056 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2276, allocations: 0 / 1.056 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2276, allocations: 0 / 1.056 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.2279, allocations: 191.4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.2279, allocations: 89.33 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.2279, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.228, allocations: 19.97 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.2281, allocations: 0 / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2281, allocations: 0 / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.2281, allocations: 95.2 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2281, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002034/0.2283, allocations: 8 kB / 1.057 GB, free: 3.172 MB / 0.8106 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.000546/0.2289, allocations: 0.728 MB / 1.057 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.2292, allocations: 71.92 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2292, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.2293, allocations: 35.91 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.2296, allocations: 8 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.23, allocations: 175.3 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.2301, allocations: 0.6809 MB / 1.058 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.865e-05/0.2302, allocations: 0 / 1.058 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2302, allocations: 19.42 kB / 1.058 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2302, allocations: 0 / 1.058 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009552/0.2398, allocations: 1.356 MB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.24, allocations: 211.8 kB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/1.771, allocations: 4.062 kB / 1.06 GB, free: 15.85 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches