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.002206/0.002206, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.002612/0.002612, allocations: 165.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.639/1.639, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.964/2.964, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.7864 GB, free: 11.6 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.157e-05, allocations: 6.25 kB / 0.7864 GB, free: 11.59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001909/0.001941, allocations: 0.6499 MB / 0.7871 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003102, allocations: 0.8321 MB / 0.7879 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.003133, allocations: 5.812 kB / 0.7879 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.003153, allocations: 0 / 0.7879 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.872e-05/0.003222, allocations: 7.984 kB / 0.7879 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.003356, allocations: 7.938 kB / 0.7879 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.003444, allocations: 24.8 kB / 0.7879 GB, free: 10.08 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.003535, allocations: 7.984 kB / 0.7879 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.399e-05/0.003619, allocations: 12.92 kB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.003661, allocations: 15.92 kB / 0.788 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.003677, allocations: 0 / 0.788 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.003688, allocations: 4.844 kB / 0.788 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.003701, allocations: 0 / 0.788 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.003724, allocations: 8.75 kB / 0.788 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.857e-05/0.003812, allocations: 15.97 kB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.003815, allocations: 0.9688 kB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003815, allocations: 0 / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.003822, allocations: 3.984 kB / 0.788 GB, free: 10.01 MB / 0.698 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.0004973/0.00432, allocations: 356.9 kB / 0.7883 GB, free: 9.625 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.004356, allocations: 9.438 kB / 0.7884 GB, free: 9.617 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.0044, allocations: 12.83 kB / 0.7884 GB, free: 9.605 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.004528, allocations: 116.5 kB / 0.7885 GB, free: 9.465 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.004545, allocations: 4.375 kB / 0.7885 GB, free: 9.461 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.004555, allocations: 1.625 kB / 0.7885 GB, free: 9.461 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.00471, allocations: 46.19 kB / 0.7885 GB, free: 9.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.004719, allocations: 192 / 0.7885 GB, free: 9.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.004727, allocations: 1.625 kB / 0.7885 GB, free: 9.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.004731, allocations: 384 / 0.7885 GB, free: 9.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.004852, allocations: 31.91 kB / 0.7886 GB, free: 9.379 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.005223, allocations: 249.5 kB / 0.7888 GB, free: 9.102 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.005352, allocations: 46.98 kB / 0.7888 GB, free: 9.043 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.005413, allocations: 11.75 kB / 0.7889 GB, free: 9.027 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.005436, allocations: 4.906 kB / 0.7889 GB, free: 9.023 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.00548, allocations: 41.38 kB / 0.7889 GB, free: 8.973 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.005481, allocations: 1.062 kB / 0.7889 GB, free: 8.973 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002789/0.00576, allocations: 66.94 kB / 0.789 GB, free: 8.902 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.005806, allocations: 51.41 kB / 0.789 GB, free: 8.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.005938, allocations: 165.9 kB / 0.7892 GB, free: 8.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.005958, allocations: 27.3 kB / 0.7892 GB, free: 8.629 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/0.006041, allocations: 130.8 kB / 0.7893 GB, free: 8.496 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.006058, allocations: 4 kB / 0.7893 GB, free: 8.492 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.006102, allocations: 27.3 kB / 0.7894 GB, free: 8.457 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002764/0.006378, allocations: 492.1 kB / 0.7898 GB, free: 7.965 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.006704, allocations: 13.53 kB / 0.7898 GB, free: 7.953 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.45e-05/0.006749, allocations: 11.98 kB / 0.7898 GB, free: 7.941 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.967e-05/0.006849, allocations: 30.39 kB / 0.7899 GB, free: 7.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.00685, allocations: 0 / 0.7899 GB, free: 7.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001466/0.006997, allocations: 61.64 kB / 0.7899 GB, free: 7.844 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.007009, allocations: 4 kB / 0.7899 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.007015, allocations: 3.938 kB / 0.7899 GB, free: 7.836 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.007029, allocations: 0.7188 kB / 0.7899 GB, free: 7.836 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.007105, allocations: 11.92 kB / 0.79 GB, free: 7.824 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.00711, allocations: 5.656 kB / 0.79 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.007139, allocations: 0 / 0.79 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.007144, allocations: 0 / 0.79 GB, free: 7.82 MB / 0.698 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 0.0001168/0.007261, allocations: 156.6 kB / 0.7901 GB, free: 7.656 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.007282, allocations: 5.688 kB / 0.7901 GB, free: 7.652 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.007319, allocations: 19.23 kB / 0.7901 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.00732, allocations: 0 / 0.7901 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.007323, allocations: 0 / 0.7901 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.007325, allocations: 0 / 0.7901 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.007479, allocations: 109.8 kB / 0.7902 GB, free: 7.492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.00748, allocations: 0 / 0.7902 GB, free: 7.492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.007529, allocations: 11.98 kB / 0.7903 GB, free: 7.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.007534, allocations: 5.938 kB / 0.7903 GB, free: 7.477 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.00754, allocations: 0 / 0.7903 GB, free: 7.477 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.007543, allocations: 3.938 kB / 0.7903 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007544, allocations: 0 / 0.7903 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.007787, allocations: 204.7 kB / 0.7905 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.007797, allocations: 8.469 kB / 0.7905 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.007808, allocations: 0 / 0.7905 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.007866, allocations: 8.656 kB / 0.7905 GB, free: 7.238 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.007902, allocations: 0.5312 kB / 0.7905 GB, free: 7.238 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.007914, allocations: 11.98 kB / 0.7905 GB, free: 7.227 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.529e-05/0.00799, allocations: 124.6 kB / 0.7906 GB, free: 7.105 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00799, allocations: 0 / 0.7906 GB, free: 7.105 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002013/0.008191, allocations: 0 / 0.7906 GB, free: 7.105 MB / 0.698 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.0001308/0.008322, allocations: 95.78 kB / 0.7907 GB, free: 7.004 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.008492, allocations: 33.05 kB / 0.7907 GB, free: 6.969 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008493, allocations: 0 / 0.7907 GB, free: 6.969 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.148e-05/0.008565, allocations: 28.77 kB / 0.7908 GB, free: 6.938 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.008801, allocations: 9.328 kB / 0.7908 GB, free: 6.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.009128, allocations: 118.4 kB / 0.7909 GB, free: 6.785 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.963e-05/0.009198, allocations: 63.34 kB / 0.7909 GB, free: 6.703 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.00922, allocations: 4.844 kB / 0.7909 GB, free: 6.699 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.009249, allocations: 9.406 kB / 0.7909 GB, free: 6.691 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/0.009249, allocations: 0 / 0.7909 GB, free: 6.691 MB / 0.698 GB Notification: Performance of Templates: time 0.00304/0.01229, allocations: 493.1 kB / 0.7914 GB, free: 6.234 MB / 0.698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.155977885005996]