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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008792/0.008792, allocations: 109.6 kB / 15.74 MB, free: 5.984 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.001701/0.001702, allocations: 193.7 kB / 16.68 MB, free: 5.906 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.853/2.853, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001327, allocations: 67.91 kB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2871, allocations: 157.4 MB / 1.207 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001878/0.289, allocations: 0.7079 MB / 1.208 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.2899, allocations: 0.8 MB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.29, allocations: 0 / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.29, allocations: 4 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.2901, allocations: 15.86 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.626e-05/0.2902, allocations: 7.984 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.2902, allocations: 43.86 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.2903, allocations: 11.98 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.615e-05/0.2904, allocations: 11.98 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.2905, allocations: 23.92 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2905, allocations: 4 kB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.2905, allocations: 8 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.2905, allocations: 7.938 kB / 1.209 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.2906, allocations: 15.92 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.615e-05/0.2907, allocations: 47.8 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2907, allocations: 0 / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2907, allocations: 0 / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.2907, allocations: 3.938 kB / 1.209 GB, free: 8.316 MB / 0.9669 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.0004946/0.2912, allocations: 367.6 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2912, allocations: 12.62 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.2913, allocations: 30.75 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.2913, allocations: 4.938 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2914, allocations: 172.2 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.2915, allocations: 4.375 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.2915, allocations: 384 / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.2917, allocations: 74.2 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2918, allocations: 3.938 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2918, allocations: 4 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2918, allocations: 0 / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.2921, allocations: 67.86 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.2925, allocations: 260.9 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.2927, allocations: 58.53 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.2929, allocations: 36.92 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.2929, allocations: 3.984 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.2929, allocations: 34.56 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 2.675e-06/0.2929, allocations: 0 / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005585/0.2935, allocations: 129.5 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.2935, allocations: 51.41 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.2936, allocations: 113.8 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2936, allocations: 25.7 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.2937, allocations: 88.12 kB / 1.21 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.2937, allocations: 11.91 kB / 1.21 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.2938, allocations: 17.66 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.2939, allocations: 314.8 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.294, allocations: 31.95 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.2942, allocations: 27.97 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.2945, allocations: 80.66 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2945, allocations: 0 / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003341/0.2948, allocations: 101.8 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2948, allocations: 4 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2949, allocations: 4 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2949, allocations: 0 / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.295, allocations: 24.02 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.295, allocations: 0 / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.259e-05/0.2951, allocations: 15.97 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.2951, allocations: 0 / 1.211 GB, free: 5.949 MB / 0.9669 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 7.102e-05/0.2952, allocations: 117.8 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.2952, allocations: 4 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.2952, allocations: 7.906 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.2953, allocations: 4 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2953, allocations: 3.938 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2953, allocations: 3.984 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.2954, allocations: 169.6 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2954, allocations: 0 / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.2955, allocations: 15.98 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2955, allocations: 0 / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2956, allocations: 4 kB / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2956, allocations: 4 kB / 1.211 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2956, allocations: 0 / 1.211 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.2959, allocations: 195.3 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.296, allocations: 81.05 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.296, allocations: 4 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2961, allocations: 15.98 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.2962, allocations: 7.984 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2962, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.2962, allocations: 91.58 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2962, allocations: 3.938 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002166/0.2965, allocations: 4 kB / 1.212 GB, free: 5.125 MB / 0.9669 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.0006641/0.2971, allocations: 0.7318 MB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003547/0.2975, allocations: 71.92 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2975, allocations: 0 / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.2977, allocations: 39.89 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.298, allocations: 13.66 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.2985, allocations: 166.9 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.2987, allocations: 0.6846 MB / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3e-05/0.2988, allocations: 0 / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.2988, allocations: 15.44 kB / 1.213 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.2988, allocations: 0 / 1.213 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.3145, allocations: 1.645 MB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.031, allocations: 12.64 kB / 1.215 GB, free: 1.758 MB / 0.9669 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