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.001791/0.001791, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002164/0.002164, allocations: 217.6 kB / 23.03 MB, free: 4.922 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.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.293/3.293, allocations: 0.5003 GB / 0.8062 GB, free: 28.23 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.002825/0.002825, allocations: 61.69 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3948, allocations: 179 MB / 1.345 GB, free: 15.86 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.003441/0.3982, allocations: 0.6594 MB / 1.346 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3999, allocations: 0.828 MB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.4, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.702e-05/0.4, allocations: 3.938 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.4001, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.4003, allocations: 23.92 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.4005, allocations: 19.98 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.4006, allocations: 4 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.4007, allocations: 8 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.4008, allocations: 11.92 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.4008, allocations: 4 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.4008, allocations: 0 / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.4008, allocations: 11.94 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.4008, allocations: 11.91 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.401, allocations: 24.12 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.401, allocations: 0 / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.254e-06/0.401, allocations: 4 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.401, allocations: 4 kB / 1.347 GB, free: 14.23 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.0005665/0.4015, allocations: 258.3 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.4016, allocations: 8.031 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.183e-05/0.4016, allocations: 4.188 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.4017, allocations: 34.75 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.4017, allocations: 0.9375 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.4018, allocations: 110.5 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.4019, allocations: 4.312 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.4019, allocations: 384 / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.4021, allocations: 57.98 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4021, allocations: 0 / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4021, allocations: 3.938 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.4021, allocations: 4 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.4023, allocations: 31.95 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.4027, allocations: 212 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.4029, allocations: 38.59 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.059e-05/0.4029, allocations: 28.91 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.403, allocations: 0 / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.403, allocations: 34.5 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.403, allocations: 0 / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003913/0.4034, allocations: 77.64 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.4034, allocations: 51.41 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4036, allocations: 110.1 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.4036, allocations: 25.7 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.4037, allocations: 84.14 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.4037, allocations: 3.953 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.4037, allocations: 13.72 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4039, allocations: 314.8 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.404, allocations: 23.92 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.4041, allocations: 15.92 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.4042, allocations: 48.83 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4042, allocations: 0 / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.4044, allocations: 65.61 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4044, allocations: 8 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4044, allocations: 48 / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4045, allocations: 3.984 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.4046, allocations: 7.984 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4046, allocations: 8.031 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.4046, allocations: 7.984 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.4046, allocations: 0 / 1.349 GB, free: 12.37 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 0.0001017/0.4047, allocations: 113.7 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.4047, allocations: 7.938 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.4048, allocations: 7.312 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4048, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4048, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4048, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.405, allocations: 128.7 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.405, allocations: 8 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.405, allocations: 11.98 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.405, allocations: 3.938 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-06/0.4051, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4051, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4051, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.4053, allocations: 167.5 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.4053, allocations: 3.953 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.4054, allocations: 4.031 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.4054, allocations: 7.984 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.4055, allocations: 0 / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.4055, allocations: 4 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.19e-05/0.4055, allocations: 83.2 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4055, allocations: 0 / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002146/0.4058, allocations: 8 kB / 1.349 GB, free: 11.75 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.0005989/0.4064, allocations: 0.6929 MB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.4065, allocations: 31.97 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4066, allocations: 3.938 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.484e-05/0.4066, allocations: 23.91 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.4069, allocations: 9.547 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.4074, allocations: 127.4 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.089e-05/0.4075, allocations: 63.34 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.107e-05/0.4075, allocations: 0 / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.4075, allocations: 7.438 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of SimCode: time 2.6e-07/0.4075, allocations: 0 / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.4296, allocations: 1.473 MB / 1.351 GB, free: 9.387 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 12.92 kB / 1.351 GB, free: 9.379 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: 19.038186497986317]