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.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.001859/0.001859, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.002315/0.002315, allocations: 220 kB / 23.05 MB, free: 5.074 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.598/1.598, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.7 MB / 0.7715 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="cs",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.002196/0.002196, allocations: 72.12 kB / 1.118 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3945, allocations: 169.9 MB / 1.284 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002348/0.3968, allocations: 0.7217 MB / 1.285 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3981, allocations: 0.8358 MB / 1.286 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.56e-05/0.3981, allocations: 0 / 1.286 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.3982, allocations: 3.938 kB / 1.286 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.3983, allocations: 7.922 kB / 1.286 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.619e-05/0.3983, allocations: 15.98 kB / 1.286 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.3984, allocations: 43.86 kB / 1.286 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3985, allocations: 7.984 kB / 1.286 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.488e-05/0.3986, allocations: 15.98 kB / 1.286 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.3987, allocations: 31.84 kB / 1.286 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3987, allocations: 4 kB / 1.286 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-06/0.3987, allocations: 4 kB / 1.286 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.3987, allocations: 4 kB / 1.286 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.3987, allocations: 19.86 kB / 1.286 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.712e-05/0.3988, allocations: 44.03 kB / 1.286 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3988, allocations: 4 kB / 1.286 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3988, allocations: 0 / 1.286 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.3988, allocations: 0 / 1.286 GB, free: 2.035 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.0005191/0.3994, allocations: 282.3 kB / 1.286 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3994, allocations: 8.031 kB / 1.286 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.972e-05/0.3994, allocations: 4.188 kB / 1.286 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.3995, allocations: 30.75 kB / 1.286 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.3995, allocations: 12.88 kB / 1.286 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.3996, allocations: 118.4 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.3996, allocations: 4.375 kB / 1.286 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.3996, allocations: 4.375 kB / 1.286 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.3999, allocations: 73.91 kB / 1.286 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3999, allocations: 0 / 1.286 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3999, allocations: 0 / 1.286 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3999, allocations: 4 kB / 1.286 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.4002, allocations: 67.86 kB / 1.286 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.4006, allocations: 240 kB / 1.287 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.4008, allocations: 50.53 kB / 1.287 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.401, allocations: 48.84 kB / 1.287 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.401, allocations: 0 / 1.287 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.4011, allocations: 30.56 kB / 1.287 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.893e-05/0.4011, allocations: 0 / 1.287 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0006433/0.4017, allocations: 137.5 kB / 1.287 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.4018, allocations: 55.41 kB / 1.287 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.4019, allocations: 105.8 kB / 1.287 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.4019, allocations: 25.7 kB / 1.287 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.402, allocations: 88.14 kB / 1.287 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.402, allocations: 3.953 kB / 1.287 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.4021, allocations: 17.72 kB / 1.287 GB, free: 484 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4023, allocations: 326.7 kB / 1.288 GB, free: 148 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4024, allocations: 31.91 kB / 1.288 GB, free: 116 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.4026, allocations: 35.95 kB / 1.288 GB, free: 80 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.4029, allocations: 64.8 kB / 1.288 GB, free: 12 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4029, allocations: 0 / 1.288 GB, free: 12 kB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004393/0.4033, allocations: 105.6 kB / 1.288 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.4033, allocations: 8 kB / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4033, allocations: 0 / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.4034, allocations: 0 / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.4035, allocations: 15.98 kB / 1.288 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4035, allocations: 3.938 kB / 1.288 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.4036, allocations: 11.98 kB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4036, allocations: 0 / 1.288 GB, free: 15.86 MB / 0.9981 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.0001245/0.4038, allocations: 117.8 kB / 1.288 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.4038, allocations: 3.984 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.4038, allocations: 12 kB / 1.288 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4038, allocations: 4 kB / 1.288 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4038, allocations: 0 / 1.288 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4038, allocations: 0 / 1.288 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.404, allocations: 144.6 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4041, allocations: 0 / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.4042, allocations: 23.97 kB / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4042, allocations: 0 / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.4042, allocations: 0 / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4042, allocations: 0 / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4042, allocations: 0 / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.4046, allocations: 195.4 kB / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.4046, allocations: 4.375 kB / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4046, allocations: 3.938 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4047, allocations: 19.97 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.4048, allocations: 4 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4048, allocations: 0 / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.779e-05/0.4049, allocations: 91.27 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4049, allocations: 0 / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002284/0.4051, allocations: 11.95 kB / 1.288 GB, free: 15.17 MB / 0.9981 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.0008163/0.4059, allocations: 0.7241 MB / 1.289 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003793/0.4063, allocations: 75.8 kB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4063, allocations: 0 / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.4064, allocations: 35.97 kB / 1.289 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.4068, allocations: 14.66 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006551/0.4075, allocations: 147.2 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.4079, allocations: 0.6807 MB / 1.29 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.757e-05/0.4079, allocations: 7.984 kB / 1.29 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-05/0.408, allocations: 15.44 kB / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/0.408, allocations: 0 / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.4309, allocations: 1.764 MB / 1.292 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.67, allocations: 16.78 kB / 1.292 GB, free: 11.75 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.698093792016152]