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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002263/0.002263, allocations: 219.9 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.621/1.621, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.467/3.467, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 71.38 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.396, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002237/0.3982, allocations: 0.6984 MB / 1.354 GB, free: 7.719 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3993, allocations: 0.8397 MB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.3993, allocations: 0 / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.3994, allocations: 3.938 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.759e-05/0.3994, allocations: 3.938 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.232e-05/0.3995, allocations: 11.98 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.3996, allocations: 51.78 kB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3997, allocations: 11.98 kB / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.3998, allocations: 11.98 kB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.3998, allocations: 31.8 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3999, allocations: 4 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.3999, allocations: 8 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.3999, allocations: 7.984 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.3999, allocations: 19.88 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.4, allocations: 44.09 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4, allocations: 0 / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4, allocations: 0 / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4, allocations: 0 / 1.355 GB, free: 6.66 MB / 1.045 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.0005579/0.4006, allocations: 286.2 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4006, allocations: 12.03 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.4007, allocations: 34.75 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.4007, allocations: 0.9375 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4008, allocations: 126.4 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.4008, allocations: 384 / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.4008, allocations: 4.375 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.4011, allocations: 70.2 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4011, allocations: 3.938 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.4011, allocations: 4 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4011, allocations: 0 / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.4014, allocations: 59.94 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.4018, allocations: 251.9 kB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.402, allocations: 54.53 kB / 1.355 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.4022, allocations: 36.92 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.4022, allocations: 0 / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4022, allocations: 34.56 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4022, allocations: 0 / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005185/0.4027, allocations: 133.5 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.4028, allocations: 51.41 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.4029, allocations: 109.8 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4029, allocations: 25.7 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.403, allocations: 88.14 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.403, allocations: 19.83 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.403, allocations: 13.72 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4032, allocations: 314.8 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.4033, allocations: 31.95 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.4034, allocations: 27.97 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.4037, allocations: 76.72 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4037, allocations: 0 / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002957/0.404, allocations: 97.89 kB / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.404, allocations: 5.406 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.404, allocations: 7.984 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.404, allocations: 7.938 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4042, allocations: 11.98 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4042, allocations: 320 / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.4042, allocations: 15.97 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4043, allocations: 0 / 1.357 GB, free: 4.488 MB / 1.045 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 0.000117/0.4044, allocations: 121.7 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.4044, allocations: 7.953 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.4044, allocations: 12 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4044, allocations: 0 / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4044, allocations: 0 / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.4044, allocations: 0 / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.4046, allocations: 144.6 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4046, allocations: 0 / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.285e-05/0.4047, allocations: 19.98 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.4047, allocations: 0 / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.4047, allocations: 0 / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4047, allocations: 7.938 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4047, allocations: 0 / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.4051, allocations: 191.4 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.4051, allocations: 7.953 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.4051, allocations: 4 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4052, allocations: 15.98 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.4053, allocations: 3.984 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.4053, allocations: 4 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.4053, allocations: 91.27 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4053, allocations: 0 / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002098/0.4055, allocations: 7.938 kB / 1.357 GB, free: 3.789 MB / 1.045 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.0007107/0.4063, allocations: 0.7306 MB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.4066, allocations: 71.92 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4066, allocations: 0 / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.4067, allocations: 35.95 kB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.4071, allocations: 11.94 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.4075, allocations: 151.2 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.4079, allocations: 0.6846 MB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.4079, allocations: 0 / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.4079, allocations: 11.44 kB / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.4079, allocations: 3.938 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.437, allocations: 1.748 MB / 1.361 GB, free: 396 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.23, allocations: 2.188 kB / 1.361 GB, free: 396 kB / 1.045 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv","/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) [Timeout 300] "Error: Could not read variable div1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv. Warning: Get data of variable div1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv failed! Error: Could not read variable div1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv. Warning: Get data of variable div1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.640917180000088]