Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.0009734/0.0009734, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001023/0.001023, allocations: 161 kB / 23.82 MB, free: 0.75 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.014/1.014, allocations: 177.1 MB / 204.2 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] 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 1.927/1.927, allocations: 359 MB / 0.6052 GB, free: 11.04 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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.205e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001243/0.001265, allocations: 0.7136 MB / 0.7879 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.002113, allocations: 0.8865 MB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.002152, allocations: 1.062 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.002185, allocations: 3.938 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.002267, allocations: 13.42 kB / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.002486, allocations: 19.98 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.002572, allocations: 43.84 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.002676, allocations: 11.94 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.803e-05/0.002764, allocations: 30.38 kB / 0.7889 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.002807, allocations: 15.97 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.002828, allocations: 4 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.556e-05/0.002884, allocations: 12 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.002905, allocations: 11.92 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.002928, allocations: 8 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.003057, allocations: 35.83 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003059, allocations: 1.75 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.00306, allocations: 0 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.003066, allocations: 0 / 0.7889 GB, free: 10.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003987/0.003464, allocations: 384.5 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.003506, allocations: 12.62 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.003618, allocations: 10.23 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.678e-05/0.003715, allocations: 116.5 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.003726, allocations: 384 / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.003736, allocations: 384 / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.003881, allocations: 68.12 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.00389, allocations: 192 / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.003901, allocations: 1.219 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.003907, allocations: 384 / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.687e-05/0.003944, allocations: 19.86 kB / 0.7895 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.00426, allocations: 260.7 kB / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.851e-05/0.004328, allocations: 29.66 kB / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.004353, allocations: 15.78 kB / 0.7898 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.004375, allocations: 3.984 kB / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.004399, allocations: 45.33 kB / 0.7899 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.0044, allocations: 0 / 0.7899 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000155/0.004555, allocations: 49.58 kB / 0.7899 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.004583, allocations: 51.41 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.004668, allocations: 174.5 kB / 0.7901 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.004681, allocations: 26.42 kB / 0.7901 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.004728, allocations: 126.9 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.004749, allocations: 16.42 kB / 0.7903 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.004778, allocations: 15.38 kB / 0.7903 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.004904, allocations: 0.4939 MB / 0.7908 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.004923, allocations: 4 kB / 0.7908 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.00494, allocations: 12.11 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.004976, allocations: 15.69 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004978, allocations: 0.5938 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.488e-05/0.005043, allocations: 45.64 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.005058, allocations: 12.72 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005064, allocations: 4.25 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.005079, allocations: 1.156 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.005174, allocations: 11.98 kB / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.005181, allocations: 1.375 kB / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.005209, allocations: 11.98 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.005218, allocations: 3.984 kB / 0.7909 GB, free: 8.402 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 (3): * Single equations (assignments): 3 * 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.748e-05/0.005296, allocations: 162.3 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.00531, allocations: 0 / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.005413, allocations: 53.62 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.005414, allocations: 0 / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.005418, allocations: 0 / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.005422, allocations: 4.828 kB / 0.7911 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.005528, allocations: 128.6 kB / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005529, allocations: 1.219 kB / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.005568, allocations: 8 kB / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005569, allocations: 0 / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.005576, allocations: 1.312 kB / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.005578, allocations: 3.938 kB / 0.7912 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005579, allocations: 0 / 0.7912 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.005681, allocations: 199.8 kB / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.005688, allocations: 5.609 kB / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.005697, allocations: 0 / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.005735, allocations: 7.938 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.005773, allocations: 11.98 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.005775, allocations: 2.719 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.00581, allocations: 123.2 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00581, allocations: 0 / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001404/0.00595, allocations: 11.95 kB / 0.7916 GB, free: 7.629 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 (3): * Single equations (assignments): 3 * 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 7.083e-05/0.006021, allocations: 99.23 kB / 0.7917 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.91e-05/0.00611, allocations: 24.12 kB / 0.7917 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-06/0.006111, allocations: 0 / 0.7917 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/0.006134, allocations: 16.2 kB / 0.7917 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.006326, allocations: 13.94 kB / 0.7917 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.006779, allocations: 139.4 kB / 0.7919 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.283e-05/0.006811, allocations: 55.36 kB / 0.7919 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.899e-05/0.00683, allocations: 8.766 kB / 0.7919 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.00686, allocations: 13.78 kB / 0.7919 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.006861, allocations: 0 / 0.7919 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of Templates: time 0.002253/0.009114, allocations: 0.7404 MB / 0.7927 GB, free: 6.5 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.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.306937030050904]