Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001698/0.001698, allocations: 110.4 kB / 16.46 MB, free: 6.508 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.002028/0.002028, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.516/1.516, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.162/3.162, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_12_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.002173/0.002173, allocations: 74.47 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.382, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002128/0.3841, allocations: 0.7079 MB / 1.322 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3852, allocations: 0.8358 MB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.3853, allocations: 0 / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.3853, allocations: 3.938 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.882e-05/0.3854, allocations: 19.92 kB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.033e-05/0.3854, allocations: 7.984 kB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.797e-05/0.3855, allocations: 43.86 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3856, allocations: 11.92 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.3857, allocations: 23.92 kB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.3858, allocations: 15.92 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.3858, allocations: 4 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.3858, allocations: 4 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.3858, allocations: 7.984 kB / 1.323 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.3858, allocations: 27.86 kB / 1.323 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.386, allocations: 40.09 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.386, allocations: 0 / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.386, allocations: 0 / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.386, allocations: 0 / 1.323 GB, free: 1.547 MB / 1.014 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.0006026/0.3866, allocations: 364.7 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3866, allocations: 15.98 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.3867, allocations: 34.75 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.3867, allocations: 4.938 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3868, allocations: 172.3 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3868, allocations: 384 / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.3869, allocations: 8.312 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.3871, allocations: 74.14 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3871, allocations: 3.938 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3871, allocations: 0 / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3871, allocations: 0 / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.3875, allocations: 67.92 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.3878, allocations: 268.9 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.388, allocations: 50.48 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.3882, allocations: 44.91 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.3882, allocations: 0 / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3882, allocations: 34.56 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3882, allocations: 0 / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005562/0.3888, allocations: 133.5 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3888, allocations: 59.28 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.389, allocations: 113.8 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.389, allocations: 25.7 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.389, allocations: 92.11 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.3891, allocations: 11.91 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.3891, allocations: 13.72 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3893, allocations: 318.8 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3894, allocations: 31.95 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3896, allocations: 31.97 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.3899, allocations: 76.72 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3899, allocations: 0 / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003322/0.3902, allocations: 97.56 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3902, allocations: 4 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3902, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3902, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3904, allocations: 23.97 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3904, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.424e-05/0.3905, allocations: 11.98 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.3905, allocations: 0 / 1.325 GB, free: 15.17 MB / 1.029 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.0001047/0.3906, allocations: 117.8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.3906, allocations: 3.953 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.3906, allocations: 11.89 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3907, allocations: 4 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3907, allocations: 4 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3907, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.3909, allocations: 169.5 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3909, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.391, allocations: 15.98 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.391, allocations: 4 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.391, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.391, allocations: 7.922 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.391, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.3914, allocations: 195.4 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.3915, allocations: 81.06 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3915, allocations: 4 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3916, allocations: 11.98 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.3917, allocations: 15.92 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.3917, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.3917, allocations: 91.27 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3917, allocations: 0 / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002199/0.3919, allocations: 4 kB / 1.325 GB, free: 14.34 MB / 1.029 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.000788/0.3927, allocations: 0.7283 MB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.3931, allocations: 67.92 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3931, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.3933, allocations: 40.09 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3936, allocations: 8.094 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.3942, allocations: 159 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.3945, allocations: 0.6807 MB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.3945, allocations: 4 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.3946, allocations: 23.42 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3946, allocations: 0 / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.4189, allocations: 1.631 MB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.537, allocations: 5.859 kB / 1.329 GB, free: 11 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.164959284011275]