Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001586/0.001586, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001739/0.001739, allocations: 211 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.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.975/2.975, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_11_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.002273/0.002273, allocations: 71.91 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182/1.184, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002608/1.186, allocations: 0.6707 MB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001491/1.188, allocations: 0.8273 MB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/1.188, allocations: 0 / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/1.188, allocations: 3.938 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/1.188, allocations: 9.859 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/1.188, allocations: 11.81 kB / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.965e-05/1.188, allocations: 20.19 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/1.188, allocations: 9.109 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/1.189, allocations: 12.77 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/1.189, allocations: 9.375 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/1.189, allocations: 5.031 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/1.189, allocations: 2.094 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/1.189, allocations: 6.672 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/1.189, allocations: 10.72 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/1.189, allocations: 19.02 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.189, allocations: 4 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.234e-06/1.189, allocations: 1.031 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.489e-05/1.189, allocations: 0 / 1.281 GB, free: 10.62 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005334/1.189, allocations: 341 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.189, allocations: 9.875 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.482e-05/1.189, allocations: 0.8906 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/1.189, allocations: 35.81 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/1.189, allocations: 2.828 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/1.19, allocations: 174.6 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/1.19, allocations: 1.562 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/1.19, allocations: 1.469 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/1.19, allocations: 56.73 kB / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.19, allocations: 1.125 kB / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/1.19, allocations: 0 / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.19, allocations: 0 / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/1.19, allocations: 41.17 kB / 1.281 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/1.191, allocations: 250.7 kB / 1.281 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/1.191, allocations: 35.34 kB / 1.281 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/1.191, allocations: 27.3 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/1.191, allocations: 5.906 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/1.191, allocations: 35.91 kB / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/1.191, allocations: 0 / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004021/1.191, allocations: 79.33 kB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/1.191, allocations: 56.34 kB / 1.282 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/1.191, allocations: 97.62 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/1.191, allocations: 29.83 kB / 1.282 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/1.191, allocations: 85.94 kB / 1.282 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/1.191, allocations: 5.703 kB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/1.192, allocations: 12.7 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.192, allocations: 320.6 kB / 1.282 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.26e-05/1.192, allocations: 14.97 kB / 1.282 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.328e-05/1.192, allocations: 17.7 kB / 1.282 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/1.192, allocations: 45.84 kB / 1.282 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/1.192, allocations: 0 / 1.282 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002331/1.192, allocations: 62.97 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.192, allocations: 5.469 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.192, allocations: 1.094 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.192, allocations: 32 / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/1.192, allocations: 13.58 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.192, allocations: 3.938 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/1.192, allocations: 6.844 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/1.192, allocations: 3.984 kB / 1.282 GB, free: 8.852 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 (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 0.0001005/1.193, allocations: 113.2 kB / 1.282 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/1.193, allocations: 9.328 kB / 1.282 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/1.193, allocations: 7.906 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.193, allocations: 1.281 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.193, allocations: 4.656 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.193, allocations: 0 / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/1.193, allocations: 160.9 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.193, allocations: 0 / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-05/1.193, allocations: 8.25 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.193, allocations: 1.062 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/1.193, allocations: 0.7031 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.193, allocations: 1.031 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.193, allocations: 0 / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/1.193, allocations: 166.6 kB / 1.283 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/1.193, allocations: 83.2 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/1.193, allocations: 1.281 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/1.193, allocations: 6.516 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/1.193, allocations: 2.828 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/1.193, allocations: 4 kB / 1.283 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.359e-05/1.193, allocations: 88.33 kB / 1.283 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.193, allocations: 0 / 1.283 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002135/1.194, allocations: 3.375 kB / 1.283 GB, free: 8.188 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 (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.0007481/1.194, allocations: 0.7007 MB / 1.284 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002618/1.195, allocations: 39.33 kB / 1.284 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/1.195, allocations: 0 / 1.284 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.37e-05/1.195, allocations: 15.77 kB / 1.284 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/1.195, allocations: 7.359 kB / 1.284 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/1.196, allocations: 138.5 kB / 1.284 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/1.196, allocations: 0.68 MB / 1.285 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.434e-05/1.196, allocations: 1.844 kB / 1.285 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/1.196, allocations: 8.469 kB / 1.285 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/1.196, allocations: 0.5312 kB / 1.285 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/1.214, allocations: 1.338 MB / 1.286 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/9.704, allocations: 7.875 kB / 1.286 GB, free: 6.234 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.457073885016143]