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.001758/0.001758, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002105/0.002105, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.773/2.773, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.314e-06/2.314e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.802e-05/4.033e-05, allocations: 2.859 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00229/0.00233, allocations: 0.6774 MB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.003732, allocations: 0.8327 MB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/0.003773, allocations: 0 / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.003804, allocations: 0.5938 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.592e-05/0.00388, allocations: 3.938 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.004045, allocations: 12.77 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.014e-05/0.004135, allocations: 23.94 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004237, allocations: 5.047 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.004336, allocations: 8 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.004382, allocations: 11.98 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.004405, allocations: 5.062 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.004414, allocations: 0 / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.004434, allocations: 8.484 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.004476, allocations: 11.98 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.00458, allocations: 16.66 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.004583, allocations: 0 / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.72e-07/0.004583, allocations: 0.9062 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.004589, allocations: 0 / 0.788 GB, free: 11.14 MB / 0.7448 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.0005446/0.005134, allocations: 263 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.005177, allocations: 9.094 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.005231, allocations: 8.891 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.005372, allocations: 101.8 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.005392, allocations: 5.969 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.005408, allocations: 8.312 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.005615, allocations: 54.17 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.005625, allocations: 3.719 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.005639, allocations: 4.359 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.005644, allocations: 384 / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.005829, allocations: 35.89 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.006226, allocations: 188.6 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.006385, allocations: 42.53 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.006489, allocations: 21.62 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.006518, allocations: 1.656 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.006568, allocations: 34.56 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.006569, allocations: 0 / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004293/0.006998, allocations: 86.91 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.007049, allocations: 55.41 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.007172, allocations: 106.7 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.007193, allocations: 25.7 kB / 0.789 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.007256, allocations: 80.14 kB / 0.7891 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.007279, allocations: 8.984 kB / 0.7891 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.007322, allocations: 13.72 kB / 0.7891 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.007509, allocations: 316.2 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.007596, allocations: 15.97 kB / 0.7894 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.007676, allocations: 16.55 kB / 0.7895 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.007836, allocations: 38.77 kB / 0.7895 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.007839, allocations: 0 / 0.7895 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002169/0.008056, allocations: 66.56 kB / 0.7896 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.008072, allocations: 5.688 kB / 0.7896 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.008091, allocations: 7.875 kB / 0.7896 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.008112, allocations: 0 / 0.7896 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.008214, allocations: 11.98 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.00822, allocations: 0.625 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.008273, allocations: 7.984 kB / 0.7896 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.008278, allocations: 0.6875 kB / 0.7896 GB, free: 9.375 MB / 0.7448 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.0001019/0.00838, allocations: 114.5 kB / 0.7897 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.008406, allocations: 1.062 kB / 0.7897 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.008441, allocations: 7.25 kB / 0.7897 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.008443, allocations: 0 / 0.7897 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.008448, allocations: 4.531 kB / 0.7897 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.00845, allocations: 3.938 kB / 0.7897 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.008603, allocations: 106.6 kB / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.008604, allocations: 0 / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.008669, allocations: 7.984 kB / 0.7898 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.008671, allocations: 1.125 kB / 0.7898 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.008679, allocations: 4 kB / 0.7898 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.008688, allocations: 7.938 kB / 0.7898 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008689, allocations: 0.8125 kB / 0.7898 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.008982, allocations: 168.3 kB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.00899, allocations: 1.219 kB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.009003, allocations: 4 kB / 0.79 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.852e-05/0.009091, allocations: 11.92 kB / 0.79 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.009136, allocations: 0.8438 kB / 0.79 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.009139, allocations: 0 / 0.79 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.071e-05/0.0092, allocations: 85.5 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0092, allocations: 0 / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002268/0.009427, allocations: 4 kB / 0.7901 GB, free: 8.805 MB / 0.7448 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.0001544/0.009581, allocations: 95.23 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.009808, allocations: 38.91 kB / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.009809, allocations: 0 / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.009898, allocations: 23.92 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.01024, allocations: 7.922 kB / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.01073, allocations: 110.1 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.592e-05/0.0108, allocations: 59.67 kB / 0.7904 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.01083, allocations: 4.625 kB / 0.7904 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.01086, allocations: 8.5 kB / 0.7904 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.01087, allocations: 0.5625 kB / 0.7904 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of Templates: time 0.003167/0.01403, allocations: 489.6 kB / 0.7909 GB, free: 7.953 MB / 0.7448 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=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/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: 7.762686852947809]