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.001898/0.001898, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001781/0.001781, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.781 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.388/3.388, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.002088/0.002088, allocations: 70.28 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.368, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002228/0.3702, allocations: 0.6571 MB / 1.326 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3714, allocations: 0.8358 MB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.3714, allocations: 0 / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.3714, allocations: 0 / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.3715, allocations: 11.88 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.3716, allocations: 11.97 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.537e-05/0.3717, allocations: 23.92 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.3718, allocations: 12 kB / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.3719, allocations: 8 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.3719, allocations: 15.92 kB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3719, allocations: 0 / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.372, allocations: 4 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.372, allocations: 0 / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.372, allocations: 7.938 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.432e-05/0.3721, allocations: 32.09 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3721, allocations: 0 / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3721, allocations: 4 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.3721, allocations: 0 / 1.327 GB, free: 0.7422 MB / 1.014 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.0004813/0.3726, allocations: 262.3 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3726, allocations: 12.03 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.3727, allocations: 34.69 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.3727, allocations: 0.9375 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3728, allocations: 110.5 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3728, allocations: 4.375 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.3728, allocations: 384 / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.373, allocations: 50.23 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.373, allocations: 3.938 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.373, allocations: 0 / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.373, allocations: 4 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.3732, allocations: 35.95 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.3736, allocations: 212 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3737, allocations: 42.48 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.856e-05/0.3738, allocations: 20.91 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3738, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3739, allocations: 34.56 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3739, allocations: 4 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003772/0.3742, allocations: 85.58 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.3743, allocations: 51.41 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.3744, allocations: 105.8 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3744, allocations: 29.7 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.3745, allocations: 80.14 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3745, allocations: 3.953 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.3745, allocations: 21.84 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3747, allocations: 310.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.3748, allocations: 23.91 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.3748, allocations: 15.98 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.375, allocations: 36.77 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.375, allocations: 7.938 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/0.3752, allocations: 69.66 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3752, allocations: 8 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3752, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3752, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.3753, allocations: 7.984 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3753, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.3754, allocations: 8 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.3754, allocations: 4 kB / 1.328 GB, free: 14.88 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.824e-05/0.3755, allocations: 122.3 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.3755, allocations: 3.953 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.3755, allocations: 7.312 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3755, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3755, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3755, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.3757, allocations: 128.7 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3757, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.3758, allocations: 11.98 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3758, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3758, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3758, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3758, allocations: 3.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.3761, allocations: 163.5 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.3761, allocations: 4 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3761, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.3762, allocations: 7.984 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.3762, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3762, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.488e-05/0.3763, allocations: 83.31 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3763, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002173/0.3765, allocations: 4 kB / 1.329 GB, free: 14.27 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.0006265/0.3771, allocations: 0.7006 MB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.3773, allocations: 36 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3773, allocations: 3.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.599e-05/0.3774, allocations: 19.98 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3777, allocations: 7.984 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.3781, allocations: 127.2 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.613e-05/0.3782, allocations: 59.3 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.626e-05/0.3782, allocations: 7.984 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.3783, allocations: 15.56 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3783, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.4077, allocations: 1.813 MB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.81, allocations: 14.5 kB / 1.332 GB, free: 11.52 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable sqrt1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv. Warning: Get data of variable sqrt1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.959074799902737]