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.001628/0.001628, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001535/0.001535, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.317/3.317, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_latest_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.001956/0.001956, allocations: 66.52 kB / 1.171 GB, free: 19.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4042, allocations: 179 MB / 1.345 GB, free: 44 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002082/0.4063, allocations: 0.6935 MB / 1.346 GB, free: 15.35 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.4074, allocations: 0.8358 MB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.4074, allocations: 4 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.904e-05/0.4074, allocations: 3.938 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.4075, allocations: 3.938 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.989e-05/0.4076, allocations: 7.984 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.422e-05/0.4077, allocations: 47.91 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.4078, allocations: 4 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.4079, allocations: 23.91 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.78e-05/0.4079, allocations: 23.91 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.4079, allocations: 4 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.4079, allocations: 8 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.408, allocations: 7.938 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.408, allocations: 15.92 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.4081, allocations: 44.03 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.4081, allocations: 0 / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4081, allocations: 4 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4081, allocations: 0 / 1.347 GB, free: 14.3 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.0005571/0.4087, allocations: 282.2 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4087, allocations: 12.03 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.962e-05/0.4087, allocations: 8.188 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.4088, allocations: 30.75 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.4088, allocations: 4.891 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.4089, allocations: 118.5 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.4089, allocations: 4.375 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.4089, allocations: 384 / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.4092, allocations: 69.97 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4092, allocations: 3.938 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4092, allocations: 8 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4092, allocations: 7.938 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.4095, allocations: 59.92 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.4099, allocations: 236 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.4101, allocations: 54.53 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.4102, allocations: 36.92 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.4103, allocations: 3.938 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.4103, allocations: 42.55 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.4103, allocations: 0 / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005394/0.4108, allocations: 125.6 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.4109, allocations: 51.41 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.411, allocations: 105.8 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.411, allocations: 29.7 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.411, allocations: 84.14 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.4111, allocations: 15.83 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.4111, allocations: 17.72 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4113, allocations: 314.8 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.4114, allocations: 39.89 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.4116, allocations: 31.97 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.4118, allocations: 68.78 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4118, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003078/0.4121, allocations: 97.95 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4122, allocations: 4 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4122, allocations: 0 / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4122, allocations: 0 / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.4123, allocations: 19.97 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4123, allocations: 320 / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.4124, allocations: 11.98 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.4124, allocations: 11.92 kB / 1.349 GB, free: 12.14 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 8.684e-05/0.4125, allocations: 117.8 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.4125, allocations: 3.953 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.4125, allocations: 12 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4125, allocations: 0 / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4125, allocations: 0 / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4125, allocations: 0 / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.4127, allocations: 140.6 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4127, allocations: 0 / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.631e-05/0.4128, allocations: 19.92 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4128, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4128, allocations: 4 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.4128, allocations: 3.984 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4128, allocations: 0 / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.4132, allocations: 195.4 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.4132, allocations: 15.89 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.4132, allocations: 0 / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.4133, allocations: 19.98 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.4134, allocations: 7.984 kB / 1.349 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.4134, allocations: 0 / 1.349 GB, free: 11.53 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.4134, allocations: 87.28 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4134, allocations: 0 / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002155/0.4136, allocations: 8 kB / 1.35 GB, free: 11.44 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.0006788/0.4143, allocations: 0.7241 MB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003233/0.4146, allocations: 71.86 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4146, allocations: 0 / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.4148, allocations: 39.89 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.4151, allocations: 6.188 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.4156, allocations: 157.2 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.821e-05/0.4157, allocations: 63.34 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.4157, allocations: 0 / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.4158, allocations: 15.44 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.4158, allocations: 0 / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.4381, allocations: 1.822 MB / 1.352 GB, free: 8.605 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.71, allocations: 12.7 kB / 1.352 GB, free: 8.598 MB / 1.045 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.883481132914312]