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.001038/0.001038, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001164/0.001164, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9928/0.9928, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 2.125/2.125, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 3.176e-06/3.176e-06, allocations: 0 / 0.8795 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.148e-05, allocations: 3.406 kB / 0.8795 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00201/0.002041, allocations: 0.691 MB / 0.8801 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.003147, allocations: 0.8459 MB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.00319, allocations: 4.938 kB / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.003219, allocations: 0 / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.215e-05/0.003302, allocations: 3.25 kB / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.003443, allocations: 7.938 kB / 0.881 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.735e-05/0.003541, allocations: 27.92 kB / 0.881 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.00365, allocations: 5.203 kB / 0.881 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.003742, allocations: 15.92 kB / 0.881 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.003787, allocations: 11.98 kB / 0.881 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.003806, allocations: 5.531 kB / 0.881 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.003815, allocations: 0 / 0.881 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.003834, allocations: 0 / 0.881 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.003855, allocations: 8 kB / 0.881 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.861e-05/0.003944, allocations: 20.86 kB / 0.8811 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.003947, allocations: 0 / 0.8811 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/0.003949, allocations: 0 / 0.8811 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.003956, allocations: 0.7188 kB / 0.8811 GB, free: 4.316 MB / 0.8386 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.0003889/0.004345, allocations: 365.3 kB / 0.8814 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.00439, allocations: 8.031 kB / 0.8814 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.004423, allocations: 8.375 kB / 0.8814 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.00452, allocations: 108.6 kB / 0.8815 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.00453, allocations: 384 / 0.8815 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.004539, allocations: 8.312 kB / 0.8815 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.004663, allocations: 50.95 kB / 0.8816 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.004671, allocations: 4.188 kB / 0.8816 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.004678, allocations: 384 / 0.8816 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004684, allocations: 384 / 0.8816 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.796e-05/0.004712, allocations: 7.922 kB / 0.8816 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.004973, allocations: 232.4 kB / 0.8818 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.748e-05/0.005031, allocations: 31 kB / 0.8819 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.005051, allocations: 11.75 kB / 0.8819 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.005068, allocations: 4.031 kB / 0.8819 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.005093, allocations: 33.39 kB / 0.8819 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.005094, allocations: 0 / 0.8819 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000158/0.005252, allocations: 45.64 kB / 0.8819 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.005286, allocations: 51.41 kB / 0.882 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.005364, allocations: 161.9 kB / 0.8821 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.005374, allocations: 29.83 kB / 0.8822 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.005419, allocations: 130.9 kB / 0.8823 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.005438, allocations: 7.953 kB / 0.8823 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.005464, allocations: 15.38 kB / 0.8823 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.005585, allocations: 0.4923 MB / 0.8828 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-06/0.005594, allocations: 0 / 0.8828 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.005602, allocations: 0 / 0.8828 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.005628, allocations: 15.62 kB / 0.8828 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.00563, allocations: 0 / 0.8828 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.205e-05/0.005702, allocations: 33.7 kB / 0.8829 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.005718, allocations: 12.09 kB / 0.8829 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005723, allocations: 3.938 kB / 0.8829 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.005734, allocations: 4.125 kB / 0.8829 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.005809, allocations: 7.984 kB / 0.8829 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.005813, allocations: 4 kB / 0.8829 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.00584, allocations: 7.953 kB / 0.8829 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.005848, allocations: 3.984 kB / 0.8829 GB, free: 2.246 MB / 0.8386 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 7.855e-05/0.005926, allocations: 156.6 kB / 0.883 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.005951, allocations: 4 kB / 0.883 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.005981, allocations: 11.3 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.005984, allocations: 3.938 kB / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005986, allocations: 0 / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.005989, allocations: 0 / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.006128, allocations: 101.2 kB / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.00613, allocations: 0 / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.006174, allocations: 7.984 kB / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.006177, allocations: 4 kB / 0.8832 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.006181, allocations: 0 / 0.8832 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.006182, allocations: 0 / 0.8832 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.006184, allocations: 0 / 0.8832 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.006315, allocations: 191.8 kB / 0.8834 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.006323, allocations: 7.984 kB / 0.8834 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.006331, allocations: 0 / 0.8834 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.082e-05/0.006372, allocations: 4 kB / 0.8834 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.006397, allocations: 0 / 0.8834 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.006401, allocations: 3.938 kB / 0.8834 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.006439, allocations: 127.2 kB / 0.8835 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006439, allocations: 0 / 0.8835 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00024/0.006679, allocations: 8 kB / 0.8835 GB, free: 1.57 MB / 0.8386 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.0001314/0.00681, allocations: 95.28 kB / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.006887, allocations: 11.69 kB / 0.8836 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.006889, allocations: 0 / 0.8836 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.538e-05/0.006914, allocations: 19.61 kB / 0.8836 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.007211, allocations: 11.83 kB / 0.8836 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.007506, allocations: 118.5 kB / 0.8837 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.917e-05/0.007545, allocations: 55.3 kB / 0.8838 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.007567, allocations: 4.125 kB / 0.8838 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.00762, allocations: 70.2 kB / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of SimCode: time 8.41e-07/0.007621, allocations: 0 / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of Templates: time 0.002639/0.01026, allocations: 0.5238 MB / 0.8844 GB, free: 0.6133 MB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2942663710564375]