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.001271/0.001271, allocations: 116.9 kB / 17.17 MB, free: 5.906 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.001386/0.001386, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.549/1.549, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.023/3.023, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 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.002462/0.002462, allocations: 71.89 kB / 1.165 GB, free: 440 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23/1.233, allocations: 178.9 MB / 1.34 GB, free: 16.19 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002159/1.235, allocations: 0.7205 MB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001132/1.236, allocations: 0.8298 MB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/1.236, allocations: 0 / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/1.236, allocations: 4.453 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/1.236, allocations: 6.484 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.487e-05/1.236, allocations: 9.594 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/1.236, allocations: 48.38 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/1.236, allocations: 3.938 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/1.237, allocations: 26.53 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/1.237, allocations: 21.88 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/1.237, allocations: 8.234 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/1.237, allocations: 3.406 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/1.237, allocations: 7.297 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/1.237, allocations: 21.36 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/1.237, allocations: 38.05 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/1.237, allocations: 0.6094 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.687e-06/1.237, allocations: 1 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.277e-05/1.237, allocations: 0 / 1.342 GB, free: 15 MB / 1.061 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.0005576/1.237, allocations: 369.5 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.237, allocations: 8.594 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.557e-05/1.238, allocations: 1.188 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/1.238, allocations: 36.58 kB / 1.342 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/1.238, allocations: 3.703 kB / 1.342 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/1.238, allocations: 168 kB / 1.342 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/1.238, allocations: 1.25 kB / 1.342 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/1.238, allocations: 6.312 kB / 1.342 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/1.238, allocations: 77.48 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.238, allocations: 0 / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.238, allocations: 3.984 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/1.238, allocations: 1.094 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/1.238, allocations: 62.61 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/1.239, allocations: 278 kB / 1.343 GB, free: 14.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/1.239, allocations: 55.84 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/1.239, allocations: 40.22 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/1.239, allocations: 0 / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/1.239, allocations: 36.89 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/1.239, allocations: 3.938 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005606/1.24, allocations: 127.8 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/1.24, allocations: 55.34 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/1.24, allocations: 116.7 kB / 1.343 GB, free: 13.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/1.24, allocations: 25.7 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/1.24, allocations: 91.45 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/1.24, allocations: 10.55 kB / 1.343 GB, free: 13.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/1.24, allocations: 16.3 kB / 1.343 GB, free: 13.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.211e-05/1.24, allocations: 318.2 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/1.24, allocations: 35.22 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/1.24, allocations: 30.28 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/1.241, allocations: 67.44 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.241, allocations: 0 / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003282/1.241, allocations: 102.5 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.241, allocations: 4.188 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/1.241, allocations: 0 / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.241, allocations: 1.344 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.241, allocations: 15.36 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/1.241, allocations: 0.5625 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.007e-05/1.241, allocations: 16.8 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/1.241, allocations: 4 kB / 1.344 GB, free: 13.16 MB / 1.061 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.344e-05/1.241, allocations: 112.5 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/1.241, allocations: 7.203 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/1.241, allocations: 8.562 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.241, allocations: 1.531 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/1.241, allocations: 0.9375 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/1.241, allocations: 0 / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/1.241, allocations: 175.2 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.241, allocations: 0.7969 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-05/1.241, allocations: 18.86 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/1.241, allocations: 1.344 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/1.241, allocations: 0.6562 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.241, allocations: 0 / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.241, allocations: 1.406 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/1.242, allocations: 205.5 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/1.242, allocations: 83.2 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/1.242, allocations: 5.812 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/1.242, allocations: 10.55 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/1.242, allocations: 4.234 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/1.242, allocations: 1.219 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.528e-05/1.242, allocations: 87.55 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.242, allocations: 0 / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002127/1.242, allocations: 10.69 kB / 1.345 GB, free: 12.48 MB / 1.061 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.0006022/1.243, allocations: 0.7299 MB / 1.345 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003884/1.243, allocations: 70.52 kB / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.243, allocations: 0 / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/1.243, allocations: 34.69 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/1.244, allocations: 7.922 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/1.244, allocations: 174.4 kB / 1.346 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/1.244, allocations: 0.6794 MB / 1.346 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.923e-05/1.244, allocations: 2.469 kB / 1.346 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/1.245, allocations: 13.94 kB / 1.346 GB, free: 10.91 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/1.245, allocations: 0 / 1.346 GB, free: 10.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/1.263, allocations: 1.686 MB / 1.348 GB, free: 10.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/9.46, allocations: 15.38 kB / 1.348 GB, free: 10.49 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.295635562972166]