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.001749/0.001749, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002038/0.002038, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.658/1.658, allocations: 230.6 MB / 256 MB, free: 7.797 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.554/3.554, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_latest_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_latest_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.002088/0.002088, allocations: 69.03 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4649/0.467, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002524/0.4695, allocations: 0.6737 MB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.4708, allocations: 0.8319 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.4708, allocations: 3.938 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.4709, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.471, allocations: 3.938 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.4711, allocations: 15.98 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.481e-05/0.4712, allocations: 23.92 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.4713, allocations: 4 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.558e-05/0.4714, allocations: 15.92 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.4715, allocations: 0 / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.4715, allocations: 4 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-06/0.4715, allocations: 0 / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.4715, allocations: 11.94 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.4715, allocations: 7.969 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.4716, allocations: 23.84 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4717, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4717, allocations: 4 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4717, allocations: 4 kB / 1.365 GB, free: 11.92 MB / 1.061 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.0004881/0.4721, allocations: 254.4 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4722, allocations: 8.031 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.4722, allocations: 8.891 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.4724, allocations: 106.5 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4724, allocations: 4.375 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4724, allocations: 384 / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.4726, allocations: 54.17 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4726, allocations: 4.188 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4726, allocations: 3.938 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4726, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.4728, allocations: 35.95 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.4731, allocations: 188.6 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.4733, allocations: 38.53 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.4734, allocations: 24.91 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.4734, allocations: 3.938 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.4734, allocations: 34.56 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4734, allocations: 3.938 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003734/0.4738, allocations: 77.64 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.4739, allocations: 55.41 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.474, allocations: 105.8 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.474, allocations: 25.83 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.474, allocations: 88.09 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.4741, allocations: 7.953 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.4741, allocations: 13.72 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4742, allocations: 314.8 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.4743, allocations: 15.97 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.992e-05/0.4744, allocations: 19.92 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.4746, allocations: 40.89 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4746, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002107/0.4748, allocations: 69.59 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4748, allocations: 5.719 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4748, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4748, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4749, allocations: 15.92 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4749, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.475, allocations: 8.031 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.475, allocations: 4 kB / 1.367 GB, free: 10.14 MB / 1.061 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.645e-05/0.4751, allocations: 117.8 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.4751, allocations: 3.938 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.4751, allocations: 3.312 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4751, allocations: 192 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4751, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.4751, allocations: 7.984 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.4753, allocations: 109.3 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4753, allocations: 0 / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.4754, allocations: 8 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.4754, allocations: 3.938 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4754, allocations: 3.984 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4754, allocations: 4 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4754, allocations: 0 / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.4757, allocations: 167.4 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.4757, allocations: 3.938 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.4757, allocations: 3.938 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.4758, allocations: 8.031 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.4758, allocations: 7.984 kB / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.4758, allocations: 0 / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.4759, allocations: 83.28 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.4759, allocations: 0 / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002189/0.4761, allocations: 4 kB / 1.368 GB, free: 9.551 MB / 1.061 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.0001529/0.4762, allocations: 91.25 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.4765, allocations: 39.95 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4765, allocations: 0 / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.705e-05/0.4765, allocations: 23.92 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4769, allocations: 7.938 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.4773, allocations: 97.62 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.881e-05/0.4773, allocations: 59.34 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.4774, allocations: 4.062 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.4774, allocations: 11.44 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.4774, allocations: 4 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of Templates: time 0.003471/0.4809, allocations: 478.2 kB / 1.368 GB, free: 8.703 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.030545707792044]