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.001377/0.001377, 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.001949/0.001949, allocations: 215.5 kB / 23.03 MB, free: 4.918 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.89/2.89, allocations: 476.8 MB / 0.7715 GB, free: 3.867 MB / 0.6231 GB " [Timeout remaining time 177] 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.00207/0.00207, allocations: 64.55 kB / 1.118 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.391, allocations: 169.9 MB / 1.284 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002447/0.3934, allocations: 0.6618 MB / 1.285 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3947, allocations: 0.8242 MB / 1.286 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.3947, allocations: 3.938 kB / 1.286 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.3948, allocations: 4 kB / 1.286 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.3948, allocations: 3.938 kB / 1.286 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.395, allocations: 7.984 kB / 1.286 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.3951, allocations: 23.94 kB / 1.286 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3952, allocations: 7.969 kB / 1.286 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.3953, allocations: 11.94 kB / 1.286 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.3953, allocations: 11.98 kB / 1.286 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3953, allocations: 3.938 kB / 1.286 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.3953, allocations: 8 kB / 1.286 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.3953, allocations: 4 kB / 1.286 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.3954, allocations: 0 / 1.286 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.929e-05/0.3955, allocations: 32.11 kB / 1.286 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3955, allocations: 0 / 1.286 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3955, allocations: 0 / 1.286 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3955, allocations: 0 / 1.286 GB, free: 1.691 MB / 0.9825 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.000502/0.396, allocations: 258.3 kB / 1.286 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.396, allocations: 12.03 kB / 1.286 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.367e-05/0.396, allocations: 192 / 1.286 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.3961, allocations: 38.75 kB / 1.286 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.3961, allocations: 0.9375 kB / 1.286 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3962, allocations: 114.5 kB / 1.286 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.3962, allocations: 384 / 1.286 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3962, allocations: 8.312 kB / 1.286 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3964, allocations: 53.92 kB / 1.286 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3964, allocations: 4 kB / 1.286 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3964, allocations: 0 / 1.286 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3965, allocations: 4 kB / 1.286 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.3966, allocations: 39.89 kB / 1.286 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.397, allocations: 220 kB / 1.286 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3971, allocations: 42.48 kB / 1.286 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.3972, allocations: 20.91 kB / 1.286 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3972, allocations: 0 / 1.286 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3973, allocations: 34.56 kB / 1.287 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3973, allocations: 0 / 1.287 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003492/0.3976, allocations: 77.64 kB / 1.287 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3977, allocations: 55.41 kB / 1.287 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/0.3977, allocations: 105.8 kB / 1.287 GB, free: 472 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3978, allocations: 25.7 kB / 1.287 GB, free: 440 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.3978, allocations: 84.14 kB / 1.287 GB, free: 352 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.3978, allocations: 7.953 kB / 1.287 GB, free: 344 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.3979, allocations: 9.719 kB / 1.287 GB, free: 328 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.398, allocations: 314.8 kB / 1.287 GB, free: 4 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.3981, allocations: 24.17 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.3982, allocations: 11.98 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.3983, allocations: 44.77 kB / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3983, allocations: 0 / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.3985, allocations: 69.72 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3985, allocations: 4 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3985, allocations: 3.938 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3986, allocations: 0 / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.3987, allocations: 11.98 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3987, allocations: 0 / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.3987, allocations: 4 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.3987, allocations: 0 / 1.287 GB, free: 15.82 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 8.695e-05/0.3988, allocations: 113.8 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.3988, allocations: 7.953 kB / 1.287 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.3988, allocations: 11.34 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3989, allocations: 0 / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3989, allocations: 0 / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3989, allocations: 0 / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.399, allocations: 136.6 kB / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.399, allocations: 0 / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.3991, allocations: 7.984 kB / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3991, allocations: 3.938 kB / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3991, allocations: 0 / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3991, allocations: 7.938 kB / 1.288 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3991, allocations: 4 kB / 1.288 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3993, allocations: 167.6 kB / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-06/0.3994, allocations: 0 / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.3994, allocations: 3.984 kB / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.3995, allocations: 7.984 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.3995, allocations: 8 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.3995, allocations: 0 / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.3996, allocations: 79.28 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3996, allocations: 4.031 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002191/0.3998, allocations: 8 kB / 1.288 GB, free: 15.2 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.0005813/0.4004, allocations: 0.689 MB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.4006, allocations: 39.91 kB / 1.289 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4006, allocations: 0 / 1.289 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.4006, allocations: 20.08 kB / 1.289 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.401, allocations: 7.984 kB / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.4014, allocations: 131.3 kB / 1.289 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.717e-05/0.4015, allocations: 55.36 kB / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.4015, allocations: 7.984 kB / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.4015, allocations: 7.438 kB / 1.289 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.4015, allocations: 0 / 1.289 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.4237, allocations: 1.456 MB / 1.29 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 12 kB / 1.29 GB, free: 12.83 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.71627056610305]