Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.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.001268/0.001268, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.0014/0.0014, allocations: 216.2 kB / 23.04 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.285/3.285, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 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.Sqrt,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",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.001987/0.001987, allocations: 70.53 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3823, allocations: 179 MB / 1.345 GB, free: 380 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00277/0.3851, allocations: 0.6633 MB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.3866, allocations: 0.8436 MB / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.3866, allocations: 0 / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.3867, allocations: 0 / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.62e-05/0.3867, allocations: 3.938 kB / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.3869, allocations: 15.98 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.636e-05/0.387, allocations: 19.92 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3871, allocations: 8 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.72e-05/0.3872, allocations: 7.938 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.3873, allocations: 11.98 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3873, allocations: 4 kB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.3873, allocations: 3.938 kB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.3873, allocations: 7.984 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.3873, allocations: 15.92 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.3874, allocations: 20.19 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3875, allocations: 0 / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3875, allocations: 0 / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3875, allocations: 0 / 1.347 GB, free: 14.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005033/0.388, allocations: 266.3 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.388, allocations: 8.031 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.857e-05/0.388, allocations: 4.125 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.3881, allocations: 30.75 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.3881, allocations: 4.938 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3882, allocations: 106.5 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3882, allocations: 8.312 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3882, allocations: 4.375 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3884, allocations: 53.98 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3884, allocations: 0 / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3885, allocations: 7.984 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3885, allocations: 0 / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.3886, allocations: 35.95 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.389, allocations: 219.9 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.3892, allocations: 46.48 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.129e-05/0.3893, allocations: 16.91 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3893, allocations: 0 / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3893, allocations: 34.56 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.3893, allocations: 0 / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003828/0.3897, allocations: 89.58 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.3898, allocations: 51.41 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.3899, allocations: 101.9 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3899, allocations: 25.7 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.3899, allocations: 84.12 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.39, allocations: 3.953 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.39, allocations: 17.72 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3902, allocations: 315 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.692e-05/0.3902, allocations: 15.98 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/0.3903, allocations: 19.97 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3905, allocations: 36.77 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3905, allocations: 4 kB / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002023/0.3907, allocations: 73.61 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3907, allocations: 8 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3907, allocations: 0 / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3907, allocations: 0 / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.3908, allocations: 11.98 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3908, allocations: 0 / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.3909, allocations: 4 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3909, allocations: 0 / 1.349 GB, free: 12.86 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 (2): * Single equations (assignments): 2 * 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 9.589e-05/0.391, allocations: 125.7 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.391, allocations: 0 / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.391, allocations: 3.312 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.391, allocations: 7.938 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.391, allocations: 0 / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.391, allocations: 0 / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.3912, allocations: 136.7 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3912, allocations: 0 / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/0.3913, allocations: 11.98 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3913, allocations: 4 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3913, allocations: 3.938 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3913, allocations: 0 / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3913, allocations: 0 / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.3916, allocations: 159.5 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.3916, allocations: 3.953 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3916, allocations: 12.03 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.3917, allocations: 3.984 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.3917, allocations: 7.938 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3917, allocations: 3.984 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.3917, allocations: 79.28 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3917, allocations: 0 / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002116/0.392, allocations: 4 kB / 1.349 GB, free: 12.24 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 (2): * Single equations (assignments): 2 * 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.0006044/0.3926, allocations: 0.6928 MB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3928, allocations: 39.95 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3928, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.939e-05/0.3929, allocations: 20.08 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.3932, allocations: 4 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.3937, allocations: 131.2 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.394, allocations: 0.6808 MB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.394, allocations: 4 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.394, allocations: 7.438 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.394, allocations: 4.062 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.4159, allocations: 1.415 MB / 1.352 GB, free: 9.293 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.77, allocations: 15.42 kB / 1.352 GB, free: 9.281 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.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.74666784098372]