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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.722/2.722, allocations: 476.7 MB / 0.7611 GB, free: 15.74 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.91 kB / 1.104 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9825/0.9846, allocations: 168.7 MB / 1.269 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001966/0.9866, allocations: 0.7103 MB / 1.269 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008213/0.9874, allocations: 0.8017 MB / 1.27 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.9874, allocations: 0 / 1.27 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.9875, allocations: 1.281 kB / 1.27 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.9875, allocations: 9.188 kB / 1.27 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.666e-05/0.9876, allocations: 16.03 kB / 1.27 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.322e-05/0.9877, allocations: 39.84 kB / 1.27 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.9878, allocations: 15.41 kB / 1.27 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.9878, allocations: 17.94 kB / 1.27 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.9879, allocations: 21.64 kB / 1.27 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.9879, allocations: 3.938 kB / 1.27 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-06/0.9879, allocations: 3.469 kB / 1.27 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.9879, allocations: 11.8 kB / 1.27 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.9879, allocations: 13.48 kB / 1.27 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.757e-05/0.988, allocations: 45.47 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.988, allocations: 5.484 kB / 1.27 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9881, allocations: 0 / 1.27 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.9881, allocations: 0 / 1.27 GB, free: 6.578 MB / 0.9981 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.0004516/0.9885, allocations: 373.7 kB / 1.271 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.9886, allocations: 8.719 kB / 1.271 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.449e-05/0.9886, allocations: 37.02 kB / 1.271 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.9886, allocations: 7.25 kB / 1.271 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.067e-05/0.9887, allocations: 172 kB / 1.271 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.9887, allocations: 1.219 kB / 1.271 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.9887, allocations: 11.27 kB / 1.271 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.9889, allocations: 63.88 kB / 1.271 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.989, allocations: 4.562 kB / 1.271 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.989, allocations: 4 kB / 1.271 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.989, allocations: 1.344 kB / 1.271 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.9892, allocations: 70.8 kB / 1.271 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.9895, allocations: 266.1 kB / 1.271 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.9897, allocations: 54.8 kB / 1.271 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.9899, allocations: 40.2 kB / 1.272 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.9899, allocations: 0.9062 kB / 1.272 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.9899, allocations: 39.95 kB / 1.272 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.9899, allocations: 0 / 1.272 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005116/0.9904, allocations: 128.5 kB / 1.272 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.9904, allocations: 52.22 kB / 1.272 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.9905, allocations: 111.7 kB / 1.272 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/0.9905, allocations: 29.7 kB / 1.272 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.9905, allocations: 87.11 kB / 1.272 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.9905, allocations: 14.12 kB / 1.272 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.9906, allocations: 12.88 kB / 1.272 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.103e-05/0.9906, allocations: 322.1 kB / 1.272 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.9908, allocations: 31.05 kB / 1.272 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.9909, allocations: 30.97 kB / 1.272 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.9911, allocations: 78.66 kB / 1.272 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9912, allocations: 0.8125 kB / 1.272 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003033/0.9915, allocations: 93.17 kB / 1.273 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.9915, allocations: 5.703 kB / 1.273 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.9915, allocations: 0.7812 kB / 1.273 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.9915, allocations: 3.938 kB / 1.273 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.9916, allocations: 19.33 kB / 1.273 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.9916, allocations: 1.609 kB / 1.273 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.9917, allocations: 15.33 kB / 1.273 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.9917, allocations: 0.75 kB / 1.273 GB, free: 4.738 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 5.274e-05/0.9918, allocations: 120.5 kB / 1.273 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.9918, allocations: 2.797 kB / 1.273 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.9918, allocations: 5.828 kB / 1.273 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9918, allocations: 0.75 kB / 1.273 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9918, allocations: 4.75 kB / 1.273 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.9918, allocations: 1.5 kB / 1.273 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.992, allocations: 169.7 kB / 1.273 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.992, allocations: 0.9062 kB / 1.273 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.479e-05/0.9921, allocations: 19.53 kB / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.9921, allocations: 1.094 kB / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.9921, allocations: 0 / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9921, allocations: 0.9375 kB / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9921, allocations: 4.969 kB / 1.273 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.9924, allocations: 201.2 kB / 1.273 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.9924, allocations: 78.58 kB / 1.273 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.9924, allocations: 1.5 kB / 1.273 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.9925, allocations: 12 kB / 1.273 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.9926, allocations: 15.36 kB / 1.273 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.9926, allocations: 0.9375 kB / 1.273 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.168e-05/0.9926, allocations: 84.45 kB / 1.273 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9926, allocations: 3.938 kB / 1.273 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002163/0.9928, allocations: 10.16 kB / 1.273 GB, free: 4.051 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.0005699/0.9934, allocations: 0.7327 MB / 1.274 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.9937, allocations: 69.3 kB / 1.274 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9937, allocations: 1 kB / 1.274 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.9939, allocations: 37.98 kB / 1.274 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.9942, allocations: 4.406 kB / 1.274 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.9947, allocations: 159.9 kB / 1.274 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.9948, allocations: 0.6799 MB / 1.275 GB, free: 18.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.9949, allocations: 5.562 kB / 1.275 GB, free: 18.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.9949, allocations: 17.67 kB / 1.275 GB, free: 18.48 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.9949, allocations: 0 / 1.275 GB, free: 18.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/1.02, allocations: 1.647 MB / 1.277 GB, free: 18.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/9.227, allocations: 7.656 kB / 1.277 GB, free: 18.07 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.468184747267514]