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.001595/0.001595, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001766/0.001766, allocations: 216.8 kB / 23.01 MB, free: 4.566 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.7 MB / 0.7714 GB, free: 4.305 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") [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.002037/0.002037, allocations: 66.66 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3785, allocations: 169.9 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001981/0.3804, allocations: 0.6809 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3815, allocations: 0.8317 MB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.3816, allocations: 0 / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.3816, allocations: 3.938 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.316e-05/0.3817, allocations: 3.938 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.3818, allocations: 11.98 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.664e-05/0.3819, allocations: 23.92 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.382, allocations: 4 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.581e-05/0.3821, allocations: 15.92 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.3821, allocations: 11.94 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3821, allocations: 4 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.036e-06/0.3821, allocations: 0 / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.3821, allocations: 3.984 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.3822, allocations: 11.94 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.741e-05/0.3823, allocations: 19.95 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3823, allocations: 0 / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3823, allocations: 0 / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3823, allocations: 0 / 1.286 GB, free: 9.539 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.0004801/0.3827, allocations: 274.2 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3828, allocations: 8.031 kB / 1.287 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.3828, allocations: 0.9375 kB / 1.287 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3829, allocations: 114.5 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3829, allocations: 4.375 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.383, allocations: 384 / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3832, allocations: 46.25 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3832, allocations: 4.125 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3832, allocations: 11.92 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3832, allocations: 0 / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.3833, allocations: 35.91 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.3837, allocations: 216 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.3838, allocations: 42.53 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.3839, allocations: 24.91 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3839, allocations: 0 / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.384, allocations: 34.5 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.384, allocations: 0 / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003687/0.3843, allocations: 81.77 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3844, allocations: 55.41 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.066e-05/0.3845, allocations: 101.8 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3845, allocations: 25.7 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.3846, allocations: 84.14 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.3846, allocations: 7.953 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.3846, allocations: 9.719 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3847, allocations: 314.8 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.3848, allocations: 23.97 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.723e-05/0.3849, allocations: 15.92 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.3851, allocations: 36.83 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3851, allocations: 0 / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001928/0.3853, allocations: 77.66 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3853, allocations: 4 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3853, allocations: 4 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3853, allocations: 0 / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.3854, allocations: 11.98 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3854, allocations: 0 / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.3855, allocations: 7.984 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.3855, allocations: 3.938 kB / 1.288 GB, free: 7.703 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 9.354e-05/0.3856, allocations: 117.8 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3856, allocations: 7.953 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.3856, allocations: 7.312 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3856, allocations: 0 / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3856, allocations: 0 / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3856, allocations: 0 / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.3858, allocations: 136.6 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3858, allocations: 4 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.3858, allocations: 4 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3858, allocations: 0 / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3858, allocations: 0 / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3858, allocations: 4 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3859, allocations: 7.984 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.3861, allocations: 151.7 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.3861, allocations: 11.98 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.3861, allocations: 7.922 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.3862, allocations: 8.031 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3862, allocations: 7.922 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.3862, allocations: 0 / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.3863, allocations: 79.28 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3863, allocations: 0 / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002108/0.3865, allocations: 4 kB / 1.288 GB, free: 7.09 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.000145/0.3866, allocations: 99.25 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3869, allocations: 39.95 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3869, allocations: 0 / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.3869, allocations: 15.98 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.3873, allocations: 10.12 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.3876, allocations: 127.3 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.388, allocations: 0.6808 MB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.388, allocations: 11.44 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.388, allocations: 0 / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of Templates: time 0.002483/0.3905, allocations: 0.5565 MB / 1.29 GB, free: 5.492 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 400] 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: 11.113143811002374]