Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_11_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.00775/0.00775, allocations: 103.6 kB / 15.74 MB, free: 6.445 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.002155/0.002155, allocations: 196.5 kB / 16.67 MB, free: 6.352 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.889/2.889, allocations: 469.8 MB / 0.7425 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 75.89 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2998, allocations: 159.1 MB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001796/0.3016, allocations: 0.71 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009122/0.3026, allocations: 0.7941 MB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.3026, allocations: 4 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.3026, allocations: 3.938 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.304e-05/0.3027, allocations: 3.938 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.591e-05/0.3028, allocations: 15.98 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.3029, allocations: 47.78 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.303, allocations: 12 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.437e-05/0.303, allocations: 15.92 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.3031, allocations: 23.91 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3031, allocations: 7.938 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.3031, allocations: 4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.3032, allocations: 7.984 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.3032, allocations: 19.86 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.407e-05/0.3033, allocations: 39.88 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3033, allocations: 0 / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3033, allocations: 0 / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3033, allocations: 4 kB / 1.222 GB, free: 12.48 MB / 0.9825 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.0005483/0.3039, allocations: 367.3 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3039, allocations: 8.031 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.304, allocations: 30.75 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.304, allocations: 16.88 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3041, allocations: 164.3 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.3042, allocations: 4.375 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3042, allocations: 384 / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.3044, allocations: 66.22 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3044, allocations: 3.938 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3045, allocations: 7.984 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3045, allocations: 0 / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.3048, allocations: 67.92 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.3052, allocations: 276.8 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.3054, allocations: 58.53 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.3055, allocations: 36.92 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.3056, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3056, allocations: 34.56 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3056, allocations: 0 / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005835/0.3062, allocations: 133.5 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.3062, allocations: 51.41 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.3063, allocations: 109.8 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3064, allocations: 29.64 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.3064, allocations: 84.14 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.3064, allocations: 15.84 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.3065, allocations: 17.7 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3066, allocations: 318.8 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.3068, allocations: 31.97 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.3069, allocations: 31.95 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.3073, allocations: 76.72 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3073, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003439/0.3076, allocations: 97.56 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3076, allocations: 4 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3076, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3077, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3078, allocations: 23.92 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.3078, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-05/0.3079, allocations: 15.94 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3079, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 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.354e-05/0.308, allocations: 117.8 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.308, allocations: 4 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.3081, allocations: 3.906 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3081, allocations: 0 / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3081, allocations: 4 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3081, allocations: 0 / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.3083, allocations: 173.6 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3083, allocations: 3.984 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.872e-05/0.3084, allocations: 15.98 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3084, allocations: 0 / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3084, allocations: 0 / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3084, allocations: 0 / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3084, allocations: 4 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.3088, allocations: 207.6 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.3089, allocations: 81.09 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3089, allocations: 0 / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.309, allocations: 11.98 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.3091, allocations: 4 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.3091, allocations: 8 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.3091, allocations: 91.2 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3091, allocations: 0 / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002254/0.3094, allocations: 8 kB / 1.225 GB, free: 9.285 MB / 0.9825 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.000749/0.3101, allocations: 0.7362 MB / 1.225 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.3105, allocations: 67.92 kB / 1.225 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3105, allocations: 0 / 1.225 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.3107, allocations: 35.97 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.311, allocations: 7.984 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.3114, allocations: 160.7 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3117, allocations: 0.6846 MB / 1.226 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.3118, allocations: 4 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.3118, allocations: 15.44 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3118, allocations: 3.938 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.3341, allocations: 1.634 MB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.076, allocations: 13.69 kB / 1.228 GB, free: 5.934 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches