Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001307/0.001307, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001851/0.001851, allocations: 217.4 kB / 22.25 MB, free: 5.105 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.777 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.232/3.232, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.Sqrt,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",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.002123/0.002123, allocations: 66.64 kB / 1.154 GB, free: 25.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3841, allocations: 176.1 MB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002068/0.3862, allocations: 0.6612 MB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3874, allocations: 0.832 MB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.3874, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.3875, allocations: 3.938 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.439e-05/0.3875, allocations: 7.875 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.3877, allocations: 11.98 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.909e-05/0.3878, allocations: 19.94 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3879, allocations: 11.97 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.3879, allocations: 8 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.388, allocations: 15.92 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.388, allocations: 4 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.388, allocations: 4 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.388, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.3881, allocations: 11.94 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.537e-05/0.3882, allocations: 20.19 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3882, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3882, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3882, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 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.0004648/0.3886, allocations: 266.3 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3887, allocations: 8.031 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.75e-05/0.3887, allocations: 42.67 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.329e-05/0.3887, allocations: 0.9375 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.3889, allocations: 114.5 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.3889, allocations: 384 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.3889, allocations: 4.375 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.3891, allocations: 50.17 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3891, allocations: 7.938 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3891, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3891, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.3893, allocations: 35.95 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.3896, allocations: 216 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.3898, allocations: 46.42 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.3899, allocations: 20.89 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3899, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3899, allocations: 34.56 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.3899, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003742/0.3903, allocations: 81.64 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3903, allocations: 55.41 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.3904, allocations: 97.86 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3904, allocations: 29.64 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.3905, allocations: 84.12 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.3905, allocations: 11.95 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.3906, allocations: 9.719 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3907, allocations: 310.8 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.3908, allocations: 24.11 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.3909, allocations: 15.97 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.391, allocations: 36.83 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.391, allocations: 3.938 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002002/0.3912, allocations: 69.75 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3912, allocations: 9.875 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3912, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.3913, allocations: 4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3914, allocations: 15.92 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3914, allocations: 0 / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.3914, allocations: 7.938 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3914, allocations: 0 / 1.329 GB, free: 13.93 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 (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.57e-05/0.3915, allocations: 114.2 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.3915, allocations: 11.94 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.3916, allocations: 11.31 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3916, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3916, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3916, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.3917, allocations: 132.6 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3917, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.3918, allocations: 8 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3918, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3918, allocations: 3.984 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3918, allocations: 4 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3918, allocations: 0 / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.3921, allocations: 167.4 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.3921, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.3921, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.3922, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.3922, allocations: 7.984 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.3922, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.3923, allocations: 79.28 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3923, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002108/0.3925, allocations: 8.031 kB / 1.33 GB, free: 13.32 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 (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.0006014/0.3931, allocations: 0.6889 MB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.3933, allocations: 43.89 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3933, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.313e-05/0.3934, allocations: 24.08 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.3937, allocations: 0 / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.3942, allocations: 135.3 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.721e-05/0.3943, allocations: 55.36 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.3943, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.3944, allocations: 11.42 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of SimCode: time 6.92e-07/0.3944, allocations: 4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.4226, allocations: 1.837 MB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.56, allocations: 10.94 kB / 1.332 GB, free: 10.56 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.40027245300007]