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.001592/0.001592, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002011/0.002011, allocations: 221.2 kB / 22.26 MB, free: 5.125 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.984 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.245/3.245, allocations: 0.505 GB / 0.8101 GB, free: 22.17 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_latest_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.002029/0.002029, allocations: 71.45 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3934, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00207/0.3955, allocations: 0.6687 MB / 1.354 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3967, allocations: 0.8436 MB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.3967, allocations: 0 / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.3967, allocations: 0 / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.881e-05/0.3968, allocations: 3.938 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.397, allocations: 11.98 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.997e-05/0.397, allocations: 19.92 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3971, allocations: 8 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.3972, allocations: 15.92 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.3973, allocations: 0 / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3973, allocations: 7.938 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-06/0.3973, allocations: 7.938 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.3973, allocations: 7.984 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.3973, allocations: 11.94 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.486e-05/0.3974, allocations: 24.17 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3974, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3974, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3974, allocations: 0 / 1.354 GB, free: 6.805 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.0004586/0.3979, allocations: 262.3 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3979, allocations: 8.031 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.398, allocations: 38.69 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.398, allocations: 4.938 kB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3981, allocations: 110.5 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3981, allocations: 4.312 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3981, allocations: 8.375 kB / 1.355 GB, free: 6.312 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3983, allocations: 46.23 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3983, allocations: 3.938 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3984, allocations: 8 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3984, allocations: 0 / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.3985, allocations: 31.97 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.3989, allocations: 223.9 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.3991, allocations: 42.53 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.3991, allocations: 20.91 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3992, allocations: 0 / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3992, allocations: 30.56 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3992, allocations: 0 / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003528/0.3995, allocations: 85.58 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.3996, allocations: 51.41 kB / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.3997, allocations: 110 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3997, allocations: 25.7 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.3998, allocations: 80.14 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.3998, allocations: 7.953 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.3998, allocations: 13.72 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4, allocations: 314.8 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.4, allocations: 15.98 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.4001, allocations: 19.98 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.4002, allocations: 32.83 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4002, allocations: 3.938 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.4004, allocations: 73.55 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4005, allocations: 5.812 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4005, allocations: 4 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4005, allocations: 4 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.4006, allocations: 11.98 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4006, allocations: 3.938 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.4006, allocations: 7.984 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.4006, allocations: 0 / 1.356 GB, free: 4.93 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.14e-05/0.4007, allocations: 121.7 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.4008, allocations: 0 / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.4008, allocations: 11.31 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4008, allocations: 3.938 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4008, allocations: 4 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4008, allocations: 0 / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.4009, allocations: 132.7 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4009, allocations: 0 / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.401, allocations: 4 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.401, allocations: 4 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.401, allocations: 3.984 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.401, allocations: 0 / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.401, allocations: 7.938 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.4013, allocations: 159.5 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.4013, allocations: 7.953 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.4013, allocations: 0 / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.4014, allocations: 8 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.4014, allocations: 12.02 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.4014, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.4015, allocations: 79.28 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4015, allocations: 0 / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002149/0.4017, allocations: 4 kB / 1.357 GB, free: 4.312 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.0006223/0.4023, allocations: 0.6928 MB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.4025, allocations: 39.95 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4025, allocations: 0 / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.997e-05/0.4026, allocations: 15.98 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.4029, allocations: 8.156 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.4034, allocations: 135.2 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.4037, allocations: 0.6729 MB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.4037, allocations: 0 / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.4037, allocations: 11.42 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of SimCode: time 6.71e-07/0.4037, allocations: 0 / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.4316, allocations: 1.392 MB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.33, allocations: 3.562 kB / 1.36 GB, free: 1.375 MB / 1.045 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable sqrt1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv. Warning: Get data of variable sqrt1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.430894742999953]