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.001707/0.001707, 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.002303/0.002303, allocations: 214.7 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.773 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.875/2.875, allocations: 476 MB / 0.7699 GB, free: 4.695 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_11_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.002142/0.002142, allocations: 65.2 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3688, allocations: 170 MB / 1.283 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002064/0.3709, allocations: 0.6641 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3721, allocations: 0.8239 MB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.3721, allocations: 0 / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.3721, allocations: 7.938 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.888e-05/0.3722, allocations: 3.938 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.3723, allocations: 8 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.444e-05/0.3724, allocations: 27.86 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3725, allocations: 7.984 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.3726, allocations: 11.98 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.3726, allocations: 7.922 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3727, allocations: 4 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.3727, allocations: 0 / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.3727, allocations: 8 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.3727, allocations: 7.875 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.034e-05/0.3728, allocations: 25.66 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3728, allocations: 0 / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3728, allocations: 0 / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3728, allocations: 4 kB / 1.284 GB, free: 10.68 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.0004933/0.3733, allocations: 261.9 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3733, allocations: 8.031 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.3734, allocations: 38.69 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.3734, allocations: 0.9375 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3735, allocations: 106.5 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3735, allocations: 8.375 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.3736, allocations: 384 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.3737, allocations: 54.17 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3738, allocations: 3.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3738, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3738, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.3739, allocations: 35.97 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.3743, allocations: 220 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.3745, allocations: 46.44 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.3746, allocations: 24.89 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.3746, allocations: 4 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.3747, allocations: 30.56 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.3747, allocations: 0 / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003461/0.375, allocations: 81.64 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3751, allocations: 55.53 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.352e-05/0.3751, allocations: 93.86 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3752, allocations: 25.7 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.3752, allocations: 92.08 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.3752, allocations: 7.938 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.3753, allocations: 13.72 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3754, allocations: 314.8 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.3755, allocations: 11.98 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/0.3756, allocations: 23.98 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3757, allocations: 36.81 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3757, allocations: 3.938 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.3759, allocations: 65.66 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3759, allocations: 4 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.376, allocations: 4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.376, allocations: 96 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.3761, allocations: 11.94 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3761, allocations: 0 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.3761, allocations: 7.984 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.3761, allocations: 3.938 kB / 1.286 GB, free: 8.82 MB / 0.9825 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.263e-05/0.3762, allocations: 121.7 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.3762, allocations: 3.953 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.3763, allocations: 7.297 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3763, allocations: 4 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3763, allocations: 0 / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3763, allocations: 4 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.3764, allocations: 132.6 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3764, allocations: 0 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.3765, allocations: 8.188 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3765, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.3765, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3765, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3765, allocations: 3.984 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.3768, allocations: 171.4 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.3768, allocations: 7.984 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.3768, allocations: 0 / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.3769, allocations: 4 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.3769, allocations: 3.984 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.3769, allocations: 4 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.377, allocations: 83.28 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.377, allocations: 0 / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002147/0.3772, allocations: 4 kB / 1.286 GB, free: 8.203 MB / 0.9825 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.0006016/0.3778, allocations: 0.6929 MB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.378, allocations: 39.89 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.378, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/0.3781, allocations: 15.98 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3784, allocations: 8.156 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.3788, allocations: 131.3 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.706e-05/0.3789, allocations: 59.34 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.3789, allocations: 4 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.379, allocations: 7.438 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.379, allocations: 0 / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.4103, allocations: 1.818 MB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.72, allocations: 7.406 kB / 1.289 GB, free: 5.469 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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] "Error: Could not read variable sqrt1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv. Warning: Get data of variable sqrt1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.70424284506589]